# Type Alias SetDefaultErrorOrRecoveryHandlerData

SetDefaultErrorOrRecoveryHandlerData: {
requestBody: {
extra_args?: {
[key: string]: unknown;
};
handler_type: "error" | "recovery";
number_of_occurence?: number;
number_of_occurence_exact?: boolean;
override_existing: boolean;
path?: string;
workspace_handler_muted?: boolean;
};
workspace: string;
}

#### Type declaration

- ##### requestBody: {
  extra_args?: {
  [key: string]: unknown;
  };
  handler_type: "error" | "recovery";
  number_of_occurence?: number;
  number_of_occurence_exact?: boolean;
  override_existing: boolean;
  path?: string;
  workspace_handler_muted?: boolean;
  }

  Handler description

  - ##### `Optional` extra_args?: {
    [key: string]: unknown;
    }

    - ##### [key: string]: unknown

  - ##### handler_type: "error" | "recovery"

  - ##### `Optional` number_of_occurence?: number

  - ##### `Optional` number_of_occurence_exact?: boolean

  - ##### override_existing: boolean

  - ##### `Optional` path?: string

  - ##### `Optional` workspace_handler_muted?: boolean

- ##### workspace: string

- Defined in src/types.gen.ts:4455