2024-09-12 04:30:23 +02:00
|
|
|
package handlers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2024-09-12 05:07:55 +02:00
|
|
|
"git.defalsify.org/vise.git/logging"
|
|
|
|
)
|
|
|
|
|
2024-09-12 04:30:23 +02:00
|
|
|
var (
|
|
|
|
ErrInvalidRequest = errors.New("invalid request for context")
|
|
|
|
ErrSessionMissing = errors.New("missing session")
|
|
|
|
ErrInvalidInput = errors.New("invalid input")
|
|
|
|
ErrStorage = errors.New("storage retrieval fail")
|
|
|
|
ErrEngineType = errors.New("incompatible engine")
|
|
|
|
ErrEngineInit = errors.New("engine init fail")
|
|
|
|
ErrEngineExec = errors.New("engine exec fail")
|
|
|
|
)
|
|
|
|
|
2025-01-04 23:27:46 +01:00
|
|
|
var (
|
|
|
|
logg = logging.NewVanilla().WithDomain("handlers")
|
|
|
|
)
|
2024-09-12 04:30:23 +02:00
|
|
|
|