OperationResponse.Error (String, Exception) Method
Public Shared Function Error( _
ByVal msg As String, _
ByVal exception As Exception _
) As OperationResponse
This language is not supported or no code example is available.
public static OperationResponse Error(
string msg,
Exception exception
)
This language is not supported or no code example is available.
public:
static OperationResponse^ Error(
String^ msg,
Exception^ exception
)
This language is not supported or no code example is available.
Parameters
- msg
- string
the error message
- exception
- Exception
the exception that caused the error response. Note that the exception is not serialised, and is intended to be used internally for logging purposes.
Return Value
OperationResponsethe response object