app.exceptions

Description

Module for managing exceptions.

References

flask-restx: https://flask-restx.readthedocs.io/en/latest/errors.html

Functions

init_app(app)

Exceptions

FileEmptyError

exception app.exceptions.FileEmptyError
args
characters_written
errno

POSIX exception code

filename

exception filename

filename2

second exception filename

strerror

exception strerror

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

app.exceptions._handle_validation_error_exception(ex: marshmallow.exceptions.ValidationError) tuple
app.exceptions.init_app(app: flask.app.Flask) None