Skip to content

Commit

Permalink
chore: add public properties to exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gutyerrez committed Aug 26, 2024
1 parent fdcf446 commit 3b36aac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
declare module '@x-spacy/exceptions' {
export class Exception {
public readonly status: number;
public readonly name: string;
public readonly message: string | undefined;

constructor(status: number, name: string, parameters?: Record<string, string | number>, message?: string);
}
}

0 comments on commit 3b36aac

Please sign in to comment.