Skip to main content
Error from DPF call. See also: DpfException

Members

Public types

Enumeration type ErrorNature

Type of error

Enumerator eUnknown

Unknown error.

Enumerator eOk

No error.

Enumerator eComponentLoading

Error loading component.

Enumerator eFileNotFound

File not found error.

Enumerator eRuntimeError

Any type of runtime error.

Enumerator eWrongOutputType

Wrong output type.

Enumerator eFailure

Functionality cannot be completed.

Enumerator eUnexpectedVoidReturn

Return value expected.

Enumerator eUnexpectedVoidEntity

Return value expected.

Enumerator eUnimplemented

Functionality not implemented.

Enumerator eUserInterrupted

Execution interupted by user.

Enumerator eLicensingFailure

Licensing checks failed.

Enumerator eUnimplementedAPI

Functionality not implemented.

Public functions

Function DpfError

Create DPF error. Parameters:
  • ErrorNature nature: [in] Type of error.
  • std::string const & origin: [in] Originator of error.
  • std::string const & message: [in] Error message.
Return type:

Function DpfError

Return type:

Function ~DpfError

Return type:

Function what

Returns: Full error message. Return type: const char *

Function message

Returns: User supplied error message. Return type: const char *

Function origin

Returns: Originator of error. Return type: const char *

Function nature

Returns: Type of error. Return type: ErrorNature

Function isOk

Returns: Indication of error. Return type: bool

Function clear

Reset to empty state. Return type: void