types

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessShouldError

func ProcessShouldError(testDescription string, err error, requiredErr error, resultObject any, t *testing.T)

ProcessShouldError compares the result of a test with what it should have been, and reacts accordingly (fail or succeed test)

Types

type ContextKey added in v1.1.0

type ContextKey string

type ErrBadRequest

type ErrBadRequest struct{}

func (*ErrBadRequest) Error

func (err *ErrBadRequest) Error() string

type ErrConflict

type ErrConflict struct{}

func (*ErrConflict) Error

func (err *ErrConflict) Error() string

type ErrNotFound

type ErrNotFound struct{}

func (*ErrNotFound) Error

func (err *ErrNotFound) Error() string

type ErrTimeOut

type ErrTimeOut struct{}

func (*ErrTimeOut) Error

func (err *ErrTimeOut) Error() string

type ErrTssProcessFailed

type ErrTssProcessFailed struct{}

func (*ErrTssProcessFailed) Error

func (err *ErrTssProcessFailed) Error() string

type ErrUnauthorized

type ErrUnauthorized struct{}

func (*ErrUnauthorized) Error

func (err *ErrUnauthorized) Error() string

Jump to

Keyboard shortcuts

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