Class NotOwner

Hierarchy

  • Error
    • NotOwner

Constructors

  • Parameters

    • context: Context
    • message: string = "Someone that is not register as owner tried to use this command."

    Returns NotOwner

Properties

cause?: unknown
ctx: Context
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => 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