If the request lacks any authentication information, the resource server SHOULD NOT include an error code or other error information.

Hierarchy

Constructors

Properties

headers: {
    WWW-Authenticate: string;
} = ...

Type declaration

  • WWW-Authenticate: string
message: string
name: string
stack?: string
status: number = 401
statusCode: number = 401
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void