Fixes #15 Add omitBody and omitName

This commit is contained in:
Nick Cipollo
2020-05-25 16:23:42 -04:00
parent 93adae701b
commit 8954a2e764
5 changed files with 87 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
import { GithubError } from "./GithubError"
import {GithubError} from "./GithubError"
export class ErrorMessage {
private error: any
@@ -18,7 +18,7 @@ export class ErrorMessage {
}
}
get status():number {
get status(): number {
return this.error.status
}