feat(t225): freeze Go ERP protocol contract
This commit is contained in:
@@ -14,11 +14,13 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrNotConfigured = errors.New("ERP connector is not configured")
|
||||
ErrSessionRequired = errors.New("ERP session is required")
|
||||
ErrNotFound = errors.New("ERP freight order not found")
|
||||
ErrUnavailable = errors.New("ERP connector is unavailable")
|
||||
ErrProtocol = errors.New("ERP connector protocol is invalid")
|
||||
// Deprecated aliases keep the temporary Connector behavior compatible while
|
||||
// the source-neutral Go ERP implementation is introduced in T-225 to T-228.
|
||||
ErrNotConfigured = domain.ErrFreightSourceNotConfigured
|
||||
ErrSessionRequired = domain.ErrFreightSourceSessionNeeded
|
||||
ErrNotFound = domain.ErrFreightSourceNotFound
|
||||
ErrUnavailable = domain.ErrFreightSourceUnavailable
|
||||
ErrProtocol = domain.ErrFreightSourceProtocol
|
||||
)
|
||||
|
||||
const maxResponseBytes = 4 << 20
|
||||
|
||||
Reference in New Issue
Block a user