CommandRegistrationError
Defined in: Commands.ts:8
A command name, alias, or registration lifetime conflicts with the host.
Extends
Section titled “Extends”- {
_tag:"CommandRegistrationError";command:string;detail:string; } &YieldableError<this> & {brand: typeofbrand; }
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CommandRegistrationError(...args: [props: { _tag?: "CommandRegistrationError"; command: string; detail: string;}, options?: MakeOptions]): CommandRegistrationError;Defined in: ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:11613
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: { _tag?: "CommandRegistrationError"; command: string; detail: string; }, options?: MakeOptions] |
Returns
Section titled “Returns”CommandRegistrationError
Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
_tag |
readonly |
"CommandRegistrationError" |
undefined |
../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Schema.d.ts:5110 |
brand |
readonly |
typeof brand |
undefined |
Commands.ts:10 |
command |
readonly |
string |
Schema.String |
Commands.ts:12 |
detail |
readonly |
string |
Schema.String |
Commands.ts:13 |
Accessors
Section titled “Accessors”message
Section titled “message”Get Signature
Section titled “Get Signature”get message(): string;Defined in: Commands.ts:15
Returns
Section titled “Returns”string