fix(t231): expose freight preflight errors
This commit is contained in:
@@ -65,6 +65,7 @@ func TestFreightSourceErrorCodesAreSourceNeutral(t *testing.T) {
|
||||
{domain.ErrFreightSourceNotFound, "ERP_FREIGHT_NOT_FOUND"},
|
||||
{domain.ErrFreightSourceProtocol, "ERP_RESPONSE_INVALID"},
|
||||
{domain.ErrFreightSourceOCRInvalid, "OCR_SERVICE_INVALID"},
|
||||
{domain.ErrFreightSourceLoginRejected, "ERP_LOGIN_REJECTED"},
|
||||
{errors.New("temporary source failure"), "ERP_UNAVAILABLE"},
|
||||
}
|
||||
for _, testCase := range cases {
|
||||
|
||||
Reference in New Issue
Block a user