Class VoucherifyError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.voucherify.client.error.VoucherifyError
All Implemented Interfaces:
java.io.Serializable

public class VoucherifyError
extends java.lang.RuntimeException
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    static VoucherifyError from​(io.voucherify.client.error.WrappedError error)  
    static VoucherifyError from​(java.lang.String text)  
    static VoucherifyError from​(java.lang.String text, java.lang.Integer code, java.lang.String details, java.lang.String key)  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • from

      public static VoucherifyError from​(io.voucherify.client.error.WrappedError error)
    • from

      public static VoucherifyError from​(java.lang.String text, java.lang.Integer code, java.lang.String details, java.lang.String key)
    • from

      public static VoucherifyError from​(java.lang.String text)