20 lines
362 B
Python
20 lines
362 B
Python
|
|
"""
|
||
|
|
NAS API Exceptions
|
||
|
|
Custom exceptions for NAS operations.
|
||
|
|
"""
|
||
|
|
|
||
|
|
|
||
|
|
class NASAuthenticationError(Exception):
|
||
|
|
"""Raised when NAS authentication fails"""
|
||
|
|
pass
|
||
|
|
|
||
|
|
|
||
|
|
class NASConnectionError(Exception):
|
||
|
|
"""Raised when NAS connection fails"""
|
||
|
|
pass
|
||
|
|
|
||
|
|
|
||
|
|
class NASAPIError(Exception):
|
||
|
|
"""Raised when NAS API returns an error"""
|
||
|
|
pass
|