Skip to Content

Class MemcoAuthenticationError

The credential was missing, malformed or rejected.

Never worth retrying: the same credential will be refused again. Check that MEMCO_API_TOKEN, or the token given to MemcoOptions, is present and still current. Memco.connect lists domains, and that call carries the credential, so a stale one fails there rather than on the first search.

Prefer error.name === 'MemcoAuthenticationError' to instanceof, for the reason this module's header gives.

Hierarchy (View Summary)

Index
code: Status

The gRPC status code, as @grpc/grpc-js's numeric status enum.

codeName: string

The status code's name, such as UNAUTHENTICATED.

detail: string

The service's own description of the failure, without the code prefix.

debugErrorString: string | undefined

gRPC's internal diagnostic string, when the call carried one.