docs: public static ApplicationException wrapException(ApplicationException error, Throwable cause) {
  
  		if (cause instanceof ApplicationException)
  			return (ApplicationException) cause;
  
  		error.withCause(cause);
  		return error;
  	}