KServerException

exception KServerException(frame)

Exception thrown by servers when something goes wrong on their side.

These exceptions originate on the Server side and are thrown by the Client when it receives the Exception.

get_error_code()

Returns the error code associated to the exception.

Returns

The error code.

Return type

ErrorCodes

get_error_sub_code()

Returns the sub error code associated to the exception.

Returns

SubErrorCodes The sub error code.