mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-29 11:09:54 +00:00
12 lines
235 B
Python
12 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
|