Package 

Class DittoError

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class DittoError
    extends Throwable
                        

    All errors that are thrown by the Ditto SDK are wrapped as a DittoError. This type wraps multiple different types of error that each have an associated reason.

    You can access more specific information about an error by switching over the error's reason value. A human-readable version of the error is available via the localizedMessage property of the error's reason.