feat: update tests
This commit is contained in:
@@ -7,7 +7,11 @@ export abstract class RelayError<D = unknown> extends Error {
|
||||
super(message);
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
toJSON(): {
|
||||
status: number;
|
||||
message: string;
|
||||
data: any;
|
||||
} {
|
||||
return {
|
||||
status: this.status,
|
||||
message: this.message,
|
||||
|
||||
Reference in New Issue
Block a user