Currently, merge and get_schema methods only throw TypeError if something is wrong. It would be better to have own exception classes (possibly derived from TypeError) for better diagnostics from the user standpoint.
Maybe have SchemaError, BaseInstanceError and HeadInstanceError?
Currently,
merge
andget_schema
methods only throwTypeError
if something is wrong. It would be better to have own exception classes (possibly derived from TypeError) for better diagnostics from the user standpoint.Maybe have
SchemaError
,BaseInstanceError
andHeadInstanceError
?