15 lines
684 B
Go
15 lines
684 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")
|
|
)
|