Class MissingCapabilityError

Error thrown when the sender does not have the required lock controller capability.

Hierarchy

Constructors

Properties

capability: SimpleV0Capability

The missing capability.

code: MISSING_CAPABILITY = LockErrorCode.MISSING_CAPABILITY
lockId: LockId

The lock id the capability is required for.

message: string
sender: AccountAddress

The sender account lacking the required capability.

stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc