Skip to content

CommandRegistrationError

Defined in: Commands.ts:8

A command name, alias, or registration lifetime conflicts with the host.

  • { _tag: "CommandRegistrationError"; command: string; detail: string; } & YieldableError<this> & { brand: typeof brand; }
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

Parameter Type
…args [props: { _tag?: "CommandRegistrationError"; command: string; detail: string; }, options?: MakeOptions]

CommandRegistrationError

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
get message(): string;

Defined in: Commands.ts:15

string