Page tree
Skip to end of metadata
Go to start of metadata

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:

NameValue
lw-error-source

A string indicating the source of the error, which may be:

"lightwave" - LightWave error.
"nsk" - NonStop filesystem or system procedure error.
"pathway" - Pathway error.

lw-error-codeThe error code.
lw-error-subcodeThe error subcode.
lw-error-messageThe 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.
  • No labels


LightWave Server 1.1.1