Skip to content

Commit b7b11f0

Browse files
authored
readd method property to FortniteAPIError
1 parent d337888 commit b7b11f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/exceptions/FortniteAPIError.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import { FortniteAPIErrorData } from '../http/httpStructs';
55
* Represets a Fortnite-API HTTP error
66
*/
77
class FortniteAPIError extends Error {
8+
/**
9+
* The HTTP method
10+
*/
11+
public method: string;
12+
813
/**
914
* The URL of the requested API endpoint
1015
*/

0 commit comments

Comments
 (0)