# Class: BusError

# Hierarchy

  • Error

    BusError

# Properties

# message

message: string

Inherited from void

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


# name

name: string

Inherited from void

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


# Optional stack

stack? : undefined | string

Inherited from void

Overrides void

Defined in node_modules/typescript/lib/lib.es5.d.ts:975


# Static Error

Error: ErrorConstructor

Defined in node_modules/typescript/lib/lib.es5.d.ts:984

# Methods

# Static create

create(message: string): BusError

Defined in src/lib/BusError.ts:2

Parameters:

Name Type
message string

Returns: BusError


# Static createFromError

createFromError(error: Error): BusError

Defined in src/lib/BusError.ts:15

Parameters:

Name Type
error Error

Returns: BusError