rtcerr

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package rtcerr implements the error wrappers defined throughout the WebRTC 1.0 specifications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidAccessError

type InvalidAccessError struct {
	Err error
}

InvalidAccessError indicates the object does not support the operation or argument.

func (*InvalidAccessError) Error

func (e *InvalidAccessError) Error() string

func (*InvalidAccessError) Unwrap

func (e *InvalidAccessError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type InvalidModificationError

type InvalidModificationError struct {
	Err error
}

InvalidModificationError indicates the object cannot be modified in this way.

func (*InvalidModificationError) Error

func (e *InvalidModificationError) Error() string

func (*InvalidModificationError) Unwrap

func (e *InvalidModificationError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type InvalidStateError

type InvalidStateError struct {
	Err error
}

InvalidStateError indicates the object is in an invalid state.

func (*InvalidStateError) Error

func (e *InvalidStateError) Error() string

func (*InvalidStateError) Unwrap

func (e *InvalidStateError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type NotReadableError

type NotReadableError struct {
	Err error
}

NotReadableError indicates the input/output read operation failed.

func (*NotReadableError) Error

func (e *NotReadableError) Error() string

func (*NotReadableError) Unwrap

func (e *NotReadableError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type NotSupportedError

type NotSupportedError struct {
	Err error
}

NotSupportedError indicates the operation is not supported.

func (*NotSupportedError) Error

func (e *NotSupportedError) Error() string

func (*NotSupportedError) Unwrap

func (e *NotSupportedError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type OperationError

type OperationError struct {
	Err error
}

OperationError indicates the operation failed for an operation-specific reason.

func (*OperationError) Error

func (e *OperationError) Error() string

func (*OperationError) Unwrap

func (e *OperationError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type RangeError

type RangeError struct {
	Err error
}

RangeError indicates an error when a value is not in the set or range of allowed values.

func (*RangeError) Error

func (e *RangeError) Error() string

func (*RangeError) Unwrap

func (e *RangeError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type SyntaxError

type SyntaxError struct {
	Err error
}

SyntaxError indicates the string did not match the expected pattern.

func (*SyntaxError) Error

func (e *SyntaxError) Error() string

func (*SyntaxError) Unwrap

func (e *SyntaxError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type TypeError

type TypeError struct {
	Err error
}

TypeError indicates an error when a value is not of the expected type.

func (*TypeError) Error

func (e *TypeError) Error() string

func (*TypeError) Unwrap

func (e *TypeError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

type UnknownError

type UnknownError struct {
	Err error
}

UnknownError indicates the operation failed for an unknown transient reason.

func (*UnknownError) Error

func (e *UnknownError) Error() string

func (*UnknownError) Unwrap

func (e *UnknownError) Unwrap() error

Unwrap returns the result of calling the Unwrap method on err, if err's type contains an Unwrap method returning error. Otherwise, Unwrap returns nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL