Source code for pyjackson.errors
[docs]class UnserializableError(SerializationError):
"""Raised when unserializable object is being serialized"""
def __init__(self, obj):
super(UnserializableError, self).__init__('{} is not serializable'.format(obj))