StarlightError
Hierarchy
- Error
- StarlightError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
response: Response
Returns StarlightError
Properties
publicresponse
The response provided by the fetch
method when the error occurred.
This error is thrown every time a problem occurs when requesting something from Starlight’s APIs. When it does, you can inspect the attached response to verify what kind of problem happened and handle it accordingly.