Class DaprError


  • public class DaprError
    extends Object
    Represents an error message from Dapr.
    • Constructor Detail

      • DaprError

        public DaprError()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
        Gets the error code.
        Returns:
        Error code.
      • setErrorCode

        public DaprError setErrorCode​(String errorCode)
        Sets the error code.
        Parameters:
        errorCode - Error code.
        Returns:
        This instance.
      • getMessage

        public String getMessage()
        Gets the error message.
        Returns:
        Error message.
      • setMessage

        public DaprError setMessage​(String message)
        Sets the error message.
        Parameters:
        message - Error message.
        Returns:
        This instance.