We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb4c8a commit 70b63f4Copy full SHA for 70b63f4
src/Errors/AxonCommandError.js
@@ -25,6 +25,7 @@ class AxonCommandError extends Error {
25
super();
26
27
this.context = commandContext;
28
+ this.err = err;
29
30
const short = `[${this.context.moduleLabel}] - ${this.context.commandLabel}] | `
31
+ `${this.context.dm ? `DM: ${this.context.callerID}` : `Guild: ${this.context.guildID}`} / Channel: ${this.context.channelID}\n`;
types/Error/AxonCommandError.ts
@@ -12,6 +12,7 @@ import { CommandContext } from '..';
12
*/
13
export declare class AxonCommandError extends Error {
14
public context: CommandContext;
15
+ public err: Error;
16
readonly short: string;
17
public message: string;
18
public stack: string;
0 commit comments