errors.py 296B

1234567891011
  1. from hapic.error import DefaultErrorBuilder
  2. class ErrorSchema(DefaultErrorBuilder):
  3. """
  4. This class is both a builder and a Marshmallow Schema, His named is used for
  5. swagger ui error schema. That's why we call it ErrorSchema To have
  6. a nice naming in swagger ui.
  7. """
  8. pass