> ## Documentation Index
> Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CancelOrderError

> Represents an order cancellation error.

export const kind_0 = "type"

<Warning>
  This {kind_0 || 'feature'} is deprecated and will be removed in the future. You should not use it in new code.
</Warning>

## Fields

***

<ParamField path="message" type={<>String!</>} required>
  The message provides more information regarding the error related to the cancellation request.
</ParamField>

<ParamField path="code" type={<>CancelOrderErrorCode!</>} required>
  The error code for the cancellation request error. See [CancelOrderErrorCode](/docs/api-reference/cancelerrorcode) for possible values.
</ParamField>

## Related types

* [`CancelOrderResult`](/docs/api-reference/cancelorderresult)
