Commit ecced470 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Import more exceptions from commissioning

parent 15868cad
from .quotaholder import QuotaholderAPI from .quotaholder import QuotaholderAPI
from .exception import ( InvalidKeyError, NoEntityError, from .exception import ( InvalidKeyError, NoEntityError,
NoQuantityError, NoCapacityError, NoQuantityError, NoCapacityError,
ExportLimitError, ImportLimitError) ExportLimitError, ImportLimitError,
CorruptedError, InvalidDataError)
API_Spec = QuotaholderAPI API_Spec = QuotaholderAPI
from commissioning import CallError, register_exception from commissioning import (CallError, register_exception,
InvalidDataError, CorruptedError)
@register_exception @register_exception
class CommissionException(CallError): class CommissionException(CallError):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment