lw-error
A group of HTTP headers returned when the request results in an error. For more information on error handling see Working with Errors
The headers include:
Name | Value |
---|---|
lw-error-source | A string indicating the source of the error, which may be: "lightwave" - LightWave error. |
lw-error-code | The error code. |
lw-error-subcode | The error subcode. |
lw-error-message | The error message. |
Example
POST http://lightwave.example.com/lightwave/api/v1/transaction/not-a-transaction-id HTTP/1.1
Content-Length: 0
HTTP/1.1 400 Bad Request
lw-error-source: nsk
lw-error-code: 78
lw-error-subcode: 0
lw-error-message: Transaction identifier is invalid or obsolete.