Warning: This is an old version. The latest stable version is v1.1.0.

Class: DefaultUserAgentWarning

DefaultUserAgentWarning(…params)

An Error used as a warning when a request with no custom user agent is made.

Constructor

new DefaultUserAgentWarning(…params)

Parameters:
Name Type Attributes Description
params * <repeatable>

Any additional params for the Error constructor, not including the message (which is hard-coded).

Source: