# ErrorInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ErrorInfo/

Struct for an error information details.

- **Full name:** `MFiles.ErrorInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-error_code"></a>`error_code` | `int32` | 1 | The error code (HRESULT value). |

<a id="used-in-fields"></a>

## Used in fields

- [`ObjectVersionDataResult.error_info`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectVersionDataResult/index.md#f-error_info): The pointer to the error information. Equals to null for the successful result.
