Skip to main content

IntentError

type IntentError​

Intent errors.

type IntentError struct {
// contains filtered or unexported fields
}

func NewIntentErrorAppId​

func NewIntentErrorAppId() *IntentError

Invalid AppId for Intent

func NewIntentErrorBytes​

func NewIntentErrorBytes() *IntentError

Invalid bytes for Intent

func NewIntentErrorHex​

func NewIntentErrorHex() *IntentError

Invalid hex string for Intent

func NewIntentErrorScope​

func NewIntentErrorScope() *IntentError

Invalid Scope for Intent

func NewIntentErrorVersion​

func NewIntentErrorVersion() *IntentError

Invalid Version for Intent

func (*IntentError) AsError​

func (err *IntentError) AsError() error

Convenience method to turn *IntentError into error Avoiding treating nil pointer as non nil error interface

func (IntentError) Error​

func (err IntentError) Error() string

func (IntentError) Unwrap​

func (err IntentError) Unwrap() error