# MethodInvocationException.Error Class

Namespace: [Qlik.Sense.JsonRpc](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.htm)  
Assembly: Qlik.Sense.JsonRpc.dll

Qlik Sense error

## Inheritance

* System.Object
  * MethodInvocationException.Error

    [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.htm)
    #### Derived Classes
    * [MethodInvocationException.Error](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MethodInvocationException.Error.htm)

## Syntax

```
public class Error
```

## Constructors

| Name | Description |
| --- | --- |
| [Error(Int32, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.-ctor.htm#Qlik_Sense_JsonRpc_MethodInvocationException_Error__ctor_System_Int32_System_String_System_String_) | Initializes a new instance of the Error class with a specified error code, message and optional parameter. |

## Properties

| Name | Description |
| --- | --- |
| [Code](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.Code.htm#Qlik_Sense_JsonRpc_MethodInvocationException_Error_Code) | Error code |
| [Message](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.Message.htm#Qlik_Sense_JsonRpc_MethodInvocationException_Error_Message) | Error message |
| [Parameter](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.Parameter.htm#Qlik_Sense_JsonRpc_MethodInvocationException_Error_Parameter) | Additional data |