Options
All
  • Public
  • Public/Protected
  • All
Menu

The object to create a new CommandError.

Hierarchy

  • CommandErrorBuilder

Index

Properties

Properties

Optional data

data: any

The data of the error, can be anything but should be related to the error type.

see

CommandErrorBuilder#type.

message

message: string

The message of the error, to inform what is the problem.

type

The type of error.

Generated using TypeDoc