Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YClientError ¶
type YClientError struct {
Msg string
}
YClientError is the error for client.
func (*YClientError) Error ¶
func (e *YClientError) Error() string
Error satisfies the error interface Returns the error message (string)
type YCodecError ¶
type YCodecError struct {
Msg string
}
YCodecError encapsualtes the validation errors for codec service.
func (*YCodecError) Error ¶
func (e *YCodecError) Error() string
Error satisfies the error interface Returns the error message (string)
type YCoreError ¶
type YCoreError struct {
Msg string
}
YModelError is the error for core.
func (*YCoreError) Error ¶
func (e *YCoreError) Error() string
Error satisfies the error interface Returns the error message (string)
type YIllegalStateError ¶
type YIllegalStateError struct {
Msg string
}
YIllegalStateError is raised when an operation/service is invoked on an object that is not in the right state.
func (*YIllegalStateError) Error ¶
func (e *YIllegalStateError) Error() string
Error satisfies the error interface Returns the error message (string)
type YInvalidArgumentError ¶
type YInvalidArgumentError struct {
Msg string
}
YInvalidArgumentError is raised when there is an invalid argument.
func (*YInvalidArgumentError) Error ¶
func (e *YInvalidArgumentError) Error() string
Error satisfies the error interface Returns the error message (string)
type YModelError ¶
type YModelError struct {
Msg string
}
YModelError is raised when a model constraint is violated.
func (*YModelError) Error ¶
func (e *YModelError) Error() string
Error satisfies the error interface Returns the error message (string)
type YOperationNotSupportedError ¶
type YOperationNotSupportedError struct {
Msg string
}
YOperationNotSupportedError is raised for an unsupported operation.
func (*YOperationNotSupportedError) Error ¶
func (e *YOperationNotSupportedError) Error() string
Error satisfies the error interface Returns the error message (string)
type YServiceError ¶
type YServiceError struct {
Msg string
}
YServiceError is the error for service.
func (*YServiceError) Error ¶
func (e *YServiceError) Error() string
Error satisfies the error interface Returns the error message (string)
type YServiceProviderError ¶
type YServiceProviderError struct {
Msg string
}
YServiceProviderError is the error for service provider.
func (*YServiceProviderError) Error ¶
func (e *YServiceProviderError) Error() string
Error satisfies the error interface Returns the error message (string)
type Y_ERROR_TYPE ¶
type Y_ERROR_TYPE int
Represents YDK Go error types
const ( Y_ERROR_TYPE_NONE Y_ERROR_TYPE = iota Y_ERROR_TYPE_ERROR Y_ERROR_TYPE_CLIENT_ERROR Y_ERROR_TYPE_SERVICE_PROVIDER_ERROR Y_ERROR_TYPE_SERVICE_ERROR Y_ERROR_TYPE_ILLEGAL_STATE_ERROR Y_ERROR_TYPE_INVALID_ARGUMENT_ERROR Y_ERROR_TYPE_OPERATION_NOTSUPPORTED_ERROR Y_ERROR_TYPE_MODEL_ERROR )