Namespace Soprano.Error |
|
|
Soprano.Error.Error | Soprano.Error.ErrorCache | Soprano.Error.Locator |
|
Converts a plain error code (as for example used in Error.code())
into an ErrorCode value.
Returns code converted to ErrorCode. If it is an unknown value, ErrorUnknown will be returned. |
|
Translate an error code into a human-readable error message. |
%Soprano defines a number of error codes that are used to provide a quick success status check in methods such as Model.addStatement().
See also Error.Error.code()
ErrorNone | - 0x0 | - | No error occured, i.e. success. | |
ErrorInvalidArgument | - 0x1 | - | Error indicating that a method argument was invalid. For example an invalid Statement in Model.addStatement(). | |
ErrorInvalidStatement | - ErrorInvalidArgument | - | \deprecated: use ErrorInvalidArgument | |
ErrorNotSupported | - 0x2 | - | Error indicating that a certain functionality is not supported. | |
ErrorParsingFailed | - 0x3 | - | Parsing a query or an RDF serialization failed. | |
ErrorPermissionDenied | - 0x4 | - | Permission is denied. \since 2.1 | |
ErrorUnknown | - 0x1000 | - | An unknown error occured. |