errors

package
v0.0.0-...-dc7611c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAggregateNotFoundError

func IsAggregateNotFoundError(err error) bool

func IsAppendToStreamError

func IsAppendToStreamError(err error) bool

func IsDeleteStreamError

func IsDeleteStreamError(err error) bool

func IsReadStreamError

func IsReadStreamError(err error) bool

func IsStreamNotFoundError

func IsStreamNotFoundError(err error) bool

func IsTruncateStreamError

func IsTruncateStreamError(err error) bool

func NewAggregateNotFoundError

func NewAggregateNotFoundError(err error, id uuid.UUID) error

func NewAppendToStreamError

func NewAppendToStreamError(err error, streamId string) error

func NewDeleteStreamError

func NewDeleteStreamError(err error, streamId string) error

func NewReadStreamError

func NewReadStreamError(err error) error

func NewStreamNotFoundError

func NewStreamNotFoundError(err error, streamId string) error

func NewTruncateStreamError

func NewTruncateStreamError(err error, streamId string) error

Types

type AggregateNotFoundError

type AggregateNotFoundError interface {
	customErrors.NotFoundError
	IsAggregateNotFoundError() bool
}

type AppendToStreamError

type AppendToStreamError interface {
	customErrors.BadRequestError
	IsAppendToStreamError() bool
}

type DeleteStreamError

type DeleteStreamError interface {
	customErrors.InternalServerError
	IsDeleteStreamError() bool
}

type ReadStreamError

type ReadStreamError interface {
	customErrors.InternalServerError
	IsReadStreamError() bool
}

type StreamNotFoundError

type StreamNotFoundError interface {
	customErrors.NotFoundError
	IsStreamNotFoundError() bool
}

type TruncateStreamError

type TruncateStreamError interface {
	customErrors.InternalServerError
	IsTruncateStreamError() bool
}

Jump to

Keyboard shortcuts

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