Rejects the JS call with handler_error and message.
handler_error
message
func fail(_ message: String)