VssServerError interface
When a fetch request fails, it will throw a VssServerError. Failure is defined as a request that made it to the server, and the server successfully responded with a failure. This will be any status return that is not a status code in the success range (200-299).
- Extends
-
Error
response |
The raw text that was returned from the server. If any is available. |
server |
If the response text was sent and it was in the form of a JSON response the object will be parsed and deserialized object is available here. This commonly has the exception details about the failure from the server. Things like the message, exception type, and stack trace will be available. |
status | The status code returned from the server. |
The raw text that was returned from the server. If any is available.
responseText: string
Property Value
string
If the response text was sent and it was in the form of a JSON response the object will be parsed and deserialized object is available here.
This commonly has the exception details about the failure from the server. Things like the message, exception type, and stack trace will be available.
serverError?: any
Property Value
any
The status code returned from the server.
status: number
Property Value
number
message: string
Property Value
string
Inherited From Error.message
name: string
Property Value
string
Inherited From Error.name
stack?: string
Property Value
string
Inherited From Error.stack