Package convex.core.util
Class Errors
java.lang.Object
convex.core.util.Errors
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
badIndex(long i)
static String
badRange(long start, long length)
static String
illegalPosition(long position)
static String
static String
insufficientFunds(Address source, long amount)
static String
negativeLength(long length)
static String
sizeOutOfRange(long i)
static String
unknownKey(Keyword key, ARecord record)
static String
wrongLength(long expected, long count)
-
Constructor Details
-
Errors
public Errors()
-
-
Method Details
-
immutable
-
sizeOutOfRange
-
illegalPosition
-
insufficientFunds
-
unknownKey
-
badIndex
-
badRange
-
negativeLength
-
wrongLength
-