Source code for ax.exceptions.storage

#!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.


from ax.exceptions.core import AxError


[docs]class JSONDecodeError(AxError): """Raised when an error occurs during JSON decoding.""" pass
[docs]class JSONEncodeError(AxError): """Raised when an error occurs during JSON encoding.""" pass
[docs]class SQADecodeError(AxError): """Raised when an error occurs during SQA decoding.""" pass
[docs]class SQAEncodeError(AxError): """Raised when an error occurs during SQA encoding.""" pass
[docs]class ImmutabilityError(AxError): """Raised when an attempt is made to update an immutable object.""" pass