Class PermitContextError

The PermitContextError class represents an error that occurs when an API method is called with insufficient context (not knowing in what environment, project or organization the API call is being made). Some of the input for the API method is provided via the SDK context. If the context is missing some data required for a method - the API call will fail.

Hierarchy

  • Error
    • PermitContextError

Constructors

Properties

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc