Class Errors

java.lang.Object
convex.core.util.Errors

public class Errors extends Object
Utility class for generating appropriate error messages "I keep a list of all unresolved bugs I've seen on the forum. In some cases, I'm still thinking about the best design for the fix. This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." – Satoshi Nakamoto
  • Constructor Details

    • Errors

      public Errors()
  • Method Details

    • immutable

      public static String immutable(Object a)
    • sizeOutOfRange

      public static String sizeOutOfRange(long i)
    • illegalPosition

      public static String illegalPosition(long position)
    • insufficientFunds

      public static String insufficientFunds(Address source, long amount)
    • unknownKey

      public static String unknownKey(Keyword key, ARecord record)
    • badIndex

      public static String badIndex(long i)
    • badRange

      public static String badRange(long start, long end)
    • negativeLength

      public static String negativeLength(long length)
    • wrongLength

      public static String wrongLength(long expected, long count)