Class ErrorFunction


  • public class ErrorFunction
    extends FunctionBase
    From http://docs.jsonata.org/string-functions.html: $error(str) Throws an error with the string as its message. If str is not specified (i.e. this function is invoked with no arguments), then the context value is used as the value of str. An error is thrown if str is not a string. Examples $error("Hello World") throws an exception "Hello World"