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

# set_default

#### *static* FileWriteResults.set\_default(error\_code=None, warning\_codes=None)

Set the default values of the `FileWriteResults` object.

* **Parameters:**

  **error\_code: ErrorCode, optional**
  : Error code if file write operation is unsuccessful.

  **warning\_codes: List\[WarningCode], optional**
  : Warning codes associated with the file write operation.
