diff --git a/src/Shipment/Exception/OrderHandledBy3rdPartyException.php b/src/Shipment/Exception/OrderHandledBy3rdPartyException.php new file mode 100644 index 0000000..6ee52e1 --- /dev/null +++ b/src/Shipment/Exception/OrderHandledBy3rdPartyException.php @@ -0,0 +1,32 @@ +json([ + 'error' => [ + 'code' => 'order_handled_by_3rd_party', + 'message' => $this->getMessage(), + 'meta' => [ + '3rd_party' => $this->platform + ] + ] + ], $this->code); + } +}