FulfillmentException
extends ApiException
in package
FulfillmentException class.
This exception is thrown when there is an issue with fulfillment operations, such as creating, updating, or deleting fulfillments.
Table of Contents
- __construct() : mixed
- Setup exception.
Methods
__construct()
Setup exception.
public
__construct(string $message[, int $http_status_code = 400 ][, array<string|int, mixed> $additional_data = array() ]) : mixed
Parameters
- $message : string
-
User-friendly translated error message, e.g. 'Fulfillment creation failed'.
- $http_status_code : int = 400
-
Optional. Proper HTTP status code to respond with. Defaults to 400 (Bad request).
- $additional_data : array<string|int, mixed> = array()
-
Optional. Extra data (key value pairs) to expose in the error response. Defaults to empty array.
