Pymoe.errors

exception Pymoe.errors.methodNotSupported(operation: str, interface: str)[source]

Raised when an operation is requested on an Interface that does not support it.

exception Pymoe.errors.moeError[source]

Just making it more clear where the error comes from

exception Pymoe.errors.serializationFailed(message: str = None, code: int = 500)[source]

Raised when ujson fails to load the data sent by the server. Originally this raised a ServerError because I wanted to maintain the response from the server. However, ServerError doesn’t really explain where the erorr happened. This does a better job of saving the response and also more clearly indicating the source of the error.

exception Pymoe.errors.serverError(message: str = None, code: int = 500)[source]

Raised when we encounter an error retrieving information from the server.