Closed judgej closed 6 years ago
ndefined variable: model {"exception":"[object] (ErrorException(code: 0): Undefined variable: model at /.../vendor/consilience/starling-payments-objects/src/HydratableTrait.php:275)
https://github.com/consilience/starling-payments-objects/blob/master/src/HydratableTrait.php#L275
Seems it's not handling a HTTP error correctly.
Fixed, and also added getErrors() to the HasErrorsTrait.
getErrors()
HasErrorsTrait
https://github.com/consilience/starling-payments-objects/blob/master/src/HydratableTrait.php#L275
Seems it's not handling a HTTP error correctly.