Exceptions

REST Exception

A RestException is triggered by the Service module when an errors occurs.

class mrcsp.Exceptions.RestException(message, code=0, cause=None)

Exception raise for REST errors

Attributes:
message – explanation of the error code – error code

Unsupported Representation Exception

UnsupportedRepresentation Exceptions are triggered by calling the Service module methods with representations ( Content-Type ) that are not supported by the service.

class mrcsp.Exceptions.UnsupportedRepresentationException(representation)

Exception for unsupported representations

Table Of Contents

Previous topic

Resources

This Page