1
0
Fork 0
mirror of https://github.com/correl/openapi-core.git synced 2025-04-03 17:00:18 -09:00
openapi-core/openapi_core/validation/models.py
2018-05-25 11:30:50 +01:00

11 lines
235 B
Python

"""OpenAPI core validation models module"""
class BaseValidationResult(object):
def __init__(self, errors):
self.errors = errors
def raise_for_errors(self):
for error in self.errors:
raise error