Skip to content

Condicio 2.0.0

Latest
Compare
Choose a tag to compare
@vivin vivin released this 19 Nov 22:44

Version 2.0.0

Features:

  • Added counterparts to check functions that do not throw exceptions. All existing check-functions have counterparts, except for checkArgument and checkState.
  • Added checkIsType and isType to check if an object is an instance of a specific type.
  • Renamed error objects to end with "Error" instead of "Exception" and unnecessary error objects:
    • TypeError is thrown instead of NullReferenceException and InvalidTypeException.
    • ReferenceError is thrown instead of UndefinedReferenceException and PropertyNotFoundException.
    • RangeError is thrown instead of IndexOutOfBoundsException.
    • IllegalArgumentException and IllegalStateException have been renamed to IllegalArgumentError and IllegalStateError.

Credits

  • Vivin Paliath / author