## Contents

- Properties

class solace.RequestError extends solace.OperationError

This class is not exposed for construction by API users.

Represents a request failure event; request failure events are passed to the application event handling callback provided when sending the request solace.Session#sendRequest

## Constructor Top

| RequestError ( ) |  |

## Properties Top

solace.ErrorSubcode | errorSubcode |  |
String | message |  | inherited from solace.SolaceError
Constant | name |  |
Object | reason |  | inherited from solace.OperationError
solace.SessionEventCode | requestEventCode |  |
solace.ErrorSubcode | subcode |  | inherited from solace.OperationError

## Constructor details Top

###
RequestError ( )

This class is not exposed for construction by API users.

Represents a request failure event; request failure events are passed to the application event handling callback provided when sending the request solace.Session#sendRequest

## Properties Detail Top

###
public solace.ErrorSubcode errorSubcode

if applicable, an error subcode. Defined in ErrorSubcode

Deprecated: Use solace.RequestError#subcode

###
public String message

Error Message.

Inherited from solace.SolaceError

###
public Constant name

'RequestError'

###
public Object reason

The reason for the error: an embedded error object or exception.

Inherited from solace.OperationError

###
public solace.SessionEventCode requestEventCode

A code that provides more information about the error event.

###
public solace.ErrorSubcode subcode

The subcode for the error. @see solace.ErrorSubcode

Inherited from solace.OperationError