18 lines
926 B
Go
18 lines
926 B
Go
package domain
|
|
|
|
import "errors"
|
|
|
|
// Freight source errors are intentionally transport-neutral. The use case maps
|
|
// them to stable sync outcomes without exposing ERP responses or credentials.
|
|
var (
|
|
ErrFreightSourceNotConfigured = errors.New("freight source is not configured")
|
|
ErrFreightSourceSessionNeeded = errors.New("freight source session is required")
|
|
ErrFreightSourceNotFound = errors.New("freight source order not found")
|
|
ErrFreightSourceUnavailable = errors.New("freight source is unavailable")
|
|
ErrFreightSourceProtocol = errors.New("freight source protocol is invalid")
|
|
ErrFreightSourceOCRInvalid = errors.New("freight source OCR service is invalid")
|
|
ErrFreightSourceLoginRejected = errors.New("freight source login was rejected")
|
|
ErrFreightImageNotFound = errors.New("freight source image was not found")
|
|
ErrFreightImageInvalid = errors.New("freight source image is invalid")
|
|
)
|