# Uses of Class io.dapr.exceptions.DaprError (dapr-sdk-parent 1.10.0 API)

## Uses of Class
io.dapr.exceptions.DaprError

Packages that use DaprError
io.dapr.exceptions

### Uses of DaprError in io.dapr.exceptions

Methods in io.dapr.exceptions that return DaprError
`DaprError` DaprError.`setErrorCode​(String errorCode)` Sets the error code.
`DaprError` DaprError.`setMessage​(String message)` Sets the error message.

Constructors in io.dapr.exceptions with parameters of type DaprError
`DaprException​(DaprError daprError)` New exception from a server-side generated error code and message.
`DaprException​(DaprError daprError, Throwable cause)` New exception from a server-side generated error code and message.