archiver_errors

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RarDecodeError      = fmt.Errorf("rardecode: RAR signature not found")
	SevenZipDecodeError = fmt.Errorf("sevenzip: not a valid 7-zip file")
)

Functions

This section is empty.

Types

type ArchiverExtractorError

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

func New

func NewArchiverExtractorError added in v1.5.4

func NewArchiverExtractorError(msg string, e error) *ArchiverExtractorError

func (ArchiverExtractorError) Error

func (aee ArchiverExtractorError) Error() string

func (ArchiverExtractorError) Unwrap added in v1.5.4

func (aee ArchiverExtractorError) Unwrap() error

type MultiError

type MultiError struct {
	Errors []error
}

func Append

func Append(err error, newError error) *MultiError

func (*MultiError) Error

func (m *MultiError) Error() string

type OpenError added in v1.5.4

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

func NewOpenError added in v1.5.4

func NewOpenError(msg string, err error) *OpenError

func (OpenError) Error added in v1.5.4

func (op OpenError) Error() string

func (OpenError) Unwrap added in v1.5.4

func (op OpenError) Unwrap() error

Jump to

Keyboard shortcuts

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