returnedMessage = $response->getBody()['ErrorMessage'] ?? $response->getReasonPhrase(); parent::__construct( $message, $response->getStatus() ); } }