-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: expose boundary node http headers to calls (#736)
* feat: include boundary node http details to query and update calls * feat: adds method for actor creation that includes boundary node http details * refactor: avoid using global response headers object in errors * chore: updates changelog * chore: update readme with action http details info * refactor: use object in create actor class to facilitate future arguments
- Loading branch information
1 parent
8254c47
commit bd2ab1d
Showing
12 changed files
with
278 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { HttpDetailsResponse } from '../api'; | ||
|
||
export class AgentHTTPResponseError extends Error { | ||
constructor(message: string, public readonly response: HttpDetailsResponse) { | ||
super(message); | ||
this.name = this.constructor.name; | ||
Object.setPrototypeOf(this, new.target.prototype); | ||
} | ||
} |
Oops, something went wrong.