MCPcopy Create free account
hub / github.com/ArrowM/Queue-Bot / constructor

Method constructor

src/utils/error.utils.ts:12–19  ·  view source on GitHub ↗
(opts: {
		message: string
		embeds?: EmbedBuilder[],
		log?: boolean,
	})

Source from the content-addressed store, hash-verified

10
11export class CustomError extends AbstractError {
12 constructor(opts: {
13 message: string
14 embeds?: EmbedBuilder[],
15 log?: boolean,
16 }) {
17 super();
18 Object.assign(this, opts);
19 }
20}
21
22export class QueueLockedError extends AbstractError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected