Skip to content

momoa.exceptions [source]

module momoa.exceptions

Exceptions for working with JSON Schema specifications.

Classes

momoa.exceptions.SchemaError [source]

class SchemaError()

Bases : Exception

Generic JSON Schema error.

momoa.exceptions.SchemaParseError [source]

class SchemaParseError(schema_name: str, error: Exception)

Bases : SchemaError

Error while parsing JSON Schema.

momoa.exceptions.DataValidationError [source]

class DataValidationError(obj, error: Exception)

Bases : SchemaError

Error on validation of data.

momoa.exceptions.InvalidFieldError [source]

class InvalidFieldError(field_name: str)

Bases : SchemaError

Error on invalid field.