joberrors

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorScheduleExists

type ErrorScheduleExists struct {
	Message string
}

ErrorScheduleExists Error When a schedule already exists

func (ErrorScheduleExists) Error

func (e ErrorScheduleExists) Error() string

type ErrorScheduleNotFound

type ErrorScheduleNotFound struct {
	Message string
}

ErrorScheduleNotFound Error When we can't find a Schedule

func (ErrorScheduleNotFound) Error

func (e ErrorScheduleNotFound) Error() string

type Error_Type

type Error_Type int
const (
	Error_None Error_Type = iota
	Error_Panic
	Error_ConcurrentJob
	Error_DeferedJob
	Error_Middleware
)

func (Error_Type) String

func (i Error_Type) String() string

type FailedJobError

type FailedJobError struct {
	Message   string
	ErrorType Error_Type
}

func (FailedJobError) Error

func (e FailedJobError) Error() string

func (FailedJobError) Is

func (e FailedJobError) Is(target error) bool

Jump to

Keyboard shortcuts

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