Errors¶
This module contains YDK Python errors classes. These errors are thrown in case of data not conforming to the yang model or due to a server-side error.
-
exception
ydk.errors.YError¶ Bases:
exceptions.ExceptionBase class for Y Errors. The subclasses give a specialized view of the error that has occurred.
-
exception
ydk.errors.YCoreError¶ Bases:
ydk.errors.YErrorCore Error. Base exception class for all YDK core errors.
-
exception
ydk.errors.YCodecError¶ Bases:
ydk.errors.YCoreErrorCodec Error. Thrown when a Path Codec fails to perform encoding or decoding.
-
exception
ydk.errors.YModelError¶ Bases:
ydk.errors.YErrorModel Error. Thrown when a model constraint is violated.
-
exception
ydk.errors.YServiceProviderError¶ Bases:
ydk.errors.YErrorException for Service Provider. Thrown in case of a server-side error.
-
exception
ydk.errors.YClientError¶ Bases:
ydk.errors.YErrorException for client connection
-
exception
ydk.errors.YIllegalStateError¶ Bases:
ydk.errors.YErrorIllegal State Error. Thrown when an operation/service is invoked on an object that is not in the right state. Use the error_msg for the error.
-
exception
ydk.errors.YInvalidArgumentError¶ Bases:
ydk.errors.YErrorInvalid Argument. Use the error_msg for the error.
-
exception
ydk.errors.YOperationNotSupportedError¶ Bases:
ydk.errors.YErrorOperation Not Supported Error. Thrown when an operation is not supported.
-
exception
ydk.errors.YServiceError¶ Bases:
ydk.errors.YErrorException for Service Side Validation.