Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Writesonic/GPTRouter
/
Class
src/library/customError.ts:6–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
*/
5
6
class
ApiError extends Error {
7
/**
8
* Create a
new
ApiError
9
* @param {number} statusCode - The HTTP status code of the error
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected