fhirbug.exceptions¶
-
exception
fhirbug.exceptions.AuthorizationError(auditEvent, query=None)[source]¶ The request could not be authorized.
-
auditEvent= None¶ This exception carries an auditEvent resource describing why authorization failed It can be thrown anywhere in a mappings
.get()method.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.ConfigurationError[source]¶ Something is wrong with the settings
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.DoesNotExistError(pk=None, resource_type=None)[source]¶ A http request query was malformed or not understood by the server
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.InvalidOperationError[source]¶ The requested opertion is not valid
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.MappingException[source]¶ A fhir mapping received data that was not correct
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.MappingValidationError[source]¶ A fhir mapping has been set up wrong
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
exception
fhirbug.exceptions.OperationError(severity='error', code='exception', diagnostics='', status_code=500)[source]¶ An exception that happens during a requested operation that should be returned as an OperationOutcome to the user.
-
to_fhir()[source]¶ Express the exception as an OperationOutcome resource. This allows us to catch it and immediately return it to the user.
-
with_traceback()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-