Class ErrorObjectImpl

java.lang.Object
com.commercetools.api.models.error.ErrorObjectImpl
All Implemented Interfaces:
ErrorObject, io.vrap.rmf.base.client.ModelBase

public class ErrorObjectImpl extends Object implements ErrorObject, io.vrap.rmf.base.client.ModelBase

Represents a single error. Multiple errors may be included in an ErrorResponse.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Error identifier.
    Plain text description of the cause of the error.
    int
     
    void
    setMessage(String message)
    Plain text description of the cause of the error.
    void
    setValue(String key, Object value)
    Error-specific additional fields.
    Error-specific additional fields.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.error.ErrorObject

    withErrorObject

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString