dcmerr

package
v0.0.0-...-5f1ce63 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNotFound int = iota
	ErrNotConvertible
	ErrTagNotFound
	ErrUIDNotFound

	ErrEOF
	ErrBadMagic
	ErrIO
	ErrSQItemFound
	ErrSQItemDelimFound
	ErrSQDelimFound
	ErrUnexpectedEOF

	ErrIterInvalid
	ErrUnsupported
	ErrNotImplemented
)

Variables

This section is empty.

Functions

func Errorf

func Errorf(code int, format string, a ...any) error

func IsErrBadMagic

func IsErrBadMagic(err error) bool

func IsErrEOF

func IsErrEOF(err error) bool

func IsErrIterInvalid

func IsErrIterInvalid(err error) bool

func IsErrNotConvertible

func IsErrNotConvertible(err error) bool

func IsErrNotFound

func IsErrNotFound(err error) bool

func IsErrSQItemDelimFound

func IsErrSQItemDelimFound(err error) bool

func IsErrTagNotFound

func IsErrTagNotFound(err error) bool

func IsErrUIDNotFound

func IsErrUIDNotFound(err error) bool

Types

type DicomError

type DicomError interface {
	error
	Code() int
}

func NewDicomError

func NewDicomError(code int, msg string) DicomError

func NewErrEOF

func NewErrEOF() DicomError

func NewErrIterInvalid

func NewErrIterInvalid() DicomError

func NewErrSQItemDelimFound

func NewErrSQItemDelimFound() DicomError

func NewErrUnexpectedEOF

func NewErrUnexpectedEOF() DicomError

Jump to

Keyboard shortcuts

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