protected function onErrorResponse($error_code, $error_message, $response) {
    $message = print_r(
      [
        'code'      => $error_code,
        'message'   => $error_message,
        'response'  => $response
      ],
      true
    );
    $this->triggerError($message);
  }