neuray Services API Programmer's Manual

Errors

[neuray Services API]

Description

The neuray Services API defines a standard set of error codes returned by the API.

Variables

static const  mi::nservices::NRS_ERROR_COMMAND_INVALID_PARAMS = -32602
Invalid arguments to command.
static const  mi::nservices::NRS_ERROR_COMMAND_NEURAY_ERROR = -32099
Internal neuray error while executing command.
static const  mi::nservices::NRS_ERROR_COMMAND_NOT_FOUND = -32601
Requested command is unknown.
static const  mi::nservices::NRS_ERROR_COMMAND_PERMISSION_DENIED = -32098
User does not have permission to execute the given command.
static const  mi::nservices::NRS_ERROR_EVENT_HANDLER_NAME_INVALID = -1002
No event handler with this name has been registered.
static const  mi::nservices::NRS_ERROR_EVENT_NO_HANDLERS = -1001
No event handlers have been registered for this event type.
static const  mi::nservices::NRS_ERROR_FAILED = -1
General failure.
static const  mi::nservices::NRS_ERROR_INVALID_OPERATION = -3
The requested operation is invalid for the current state.
static const  mi::nservices::NRS_ERROR_INVALID_PARAMETERS = -2
A passed parameter was invalid.
static const  mi::nservices::NRS_ERROR_MEMORY = -4
Insufficient memory.
static const  mi::nservices::NRS_ERROR_NEURAY = -6
The neuray library reported an error state.
static const  mi::nservices::NRS_ERROR_NONE = 0
No error.
static const  mi::nservices::NRS_ERROR_NOT_FOUND = -5
Not found.

Variables

const mi::nservices::NRS_ERROR_COMMAND_INVALID_PARAMS = -32602 [static]

Invalid arguments to command.

const mi::nservices::NRS_ERROR_COMMAND_NEURAY_ERROR = -32099 [static]

Internal neuray error while executing command.

const mi::nservices::NRS_ERROR_COMMAND_NOT_FOUND = -32601 [static]

Requested command is unknown.

const mi::nservices::NRS_ERROR_COMMAND_PERMISSION_DENIED = -32098 [static]

User does not have permission to execute the given command.

const mi::nservices::NRS_ERROR_EVENT_HANDLER_NAME_INVALID = -1002 [static]

No event handler with this name has been registered.

const mi::nservices::NRS_ERROR_EVENT_NO_HANDLERS = -1001 [static]

No event handlers have been registered for this event type.

const mi::nservices::NRS_ERROR_FAILED = -1 [static]

General failure.

const mi::nservices::NRS_ERROR_INVALID_OPERATION = -3 [static]

The requested operation is invalid for the current state.

const mi::nservices::NRS_ERROR_INVALID_PARAMETERS = -2 [static]

A passed parameter was invalid.

const mi::nservices::NRS_ERROR_MEMORY = -4 [static]

Insufficient memory.

const mi::nservices::NRS_ERROR_NEURAY = -6 [static]

The neuray library reported an error state.

const mi::nservices::NRS_ERROR_NONE = 0 [static]

No error.

const mi::nservices::NRS_ERROR_NOT_FOUND = -5 [static]

Not found.