Skip to content

Commit 1e13e99

Browse files
committed
update typescript exception to view the message
1 parent a733229 commit 1e13e99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/deno/src/exception.ts.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ export class {{ spec.title | caseUcfirst}}Exception {
99
this.response = response;
1010
}
1111

12+
public toString(): String {
13+
return `${this.message} - ${this.code} - ${this.response}`;
14+
}
1215
}

0 commit comments

Comments
 (0)