Errors

import "github.com/CiscoDevNet/ydk-go/ydk/errors"
Y_ERROR_TYPE

Represents YDK Go error types with underlying type int

struct ydk/errors/State
Private

Type is interface{}

struct ydk/errors/CState
Private

Type is interface{}

CError

CError is an interface type that represents a basic error in Go.

Error()
Return type:string
struct ydk/errors/YError
Msg

Represents the error message. Type is string

(e *YError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YClientError
Msg

Represents the error message. Type is string

(e *YClientError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YServiceProviderError
Msg

Represents the error message. Type is string

(e *YServiceProviderError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YServiceError
Msg

Represents the error message. Type is string

(e *YServiceError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YIllegalStateError
Msg

Represents the error message. Type is string

(e *YIllegalStateError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YInvalidArgumentError
Msg

Represents the error message. Type is string

(e *YInvalidArgumentError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YOperationNotSupportedError
Msg

Represents the error message. Type is string

(e *YOperationNotSupportedError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YModelError
Msg

Represents the error message. Type is string

(e *YModelError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YCoreError
Msg

Represents the error message. Type is string

(e *YCoreError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string
struct ydk/errors/YCodecError
Msg

Represents the error message. Type is string

(e *YCodecError) Error()

Satisfies the error interface

Returns:Msg of given YError
Return type:A Go string