errors

package
v0.0.0-...-9bd9f91 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package errors provides detailed error types for ixl-go.

Index

Constants

This section is empty.

Variables

View Source
var (
	// DataSizeTooLarge represents that data size is large than device's max_transfer_size
	DataSizeTooLarge error = errors.SimpleError("data size is large than device's max_transfer_size")
	// InvalidArgument represents invalid arguments error.
	InvalidArgument error = errors.SimpleError("invalid argument")
	// NoHardwareDeviceDetected represents no device found.
	NoHardwareDeviceDetected error = errors.SimpleError("no hardware device detected")
	// BufferSizeTooSmall represents that buffer size is too small.
	BufferSizeTooSmall error = errors.SimpleError("buffer size too small")
)
View Source
var (

	// ErrNonLatin1Header means the header string should be Latin-1 encoded.
	ErrNonLatin1Header = errors.SimpleError("gzip: non-Latin-1 header string")
	// ErrZeroByte means the header string must not contains any zero byte.
	ErrZeroByte = errors.SimpleError("gzip: header string contains zero byte")
)

Functions

This section is empty.

Types

type Error

type Error = errors.Error

An Error represents a ixl-go error.

Jump to

Keyboard shortcuts

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