23 #if !defined (octave_error_h)
24 #define octave_error_h 1
33 #define panic_impossible() \
34 panic ("impossible state reached in file '%s' at line %d", __FILE__, __LINE__)
41 vmessage (
const char *name,
const char *fmt, va_list args);
62 const char *fmt, va_list args);
65 message_with_id (
const char *
id,
const char *name,
const char *fmt, ...);
OCTINTERP_API void vusage_with_id(const char *id, const char *fmt, va_list args)
OCTINTERP_API void vmessage_with_id(const char *id, const char *name, const char *fmt, va_list args)
OCTINTERP_API void verror_with_id_cfn(const char *id, const char *fmt, va_list args)
OCTINTERP_API void vusage(const char *fmt, va_list args)
static uint32_t state[624]
OCTINTERP_API void initialize_default_warning_state(void)
OCTINTERP_API void panic(const char *fmt,...) GCC_ATTR_NORETURN
CRUFT_API int long GCC_ATTR_NORETURN
OCTINTERP_API void reset_error_handler(void)
OCTINTERP_API void warning_with_id(const char *id, const char *fmt,...)
OCTINTERP_API octave_value_list set_warning_state(const std::string &id, const std::string &state)
OCTINTERP_API void message(const char *name, const char *fmt,...)
OCTINTERP_API void vparse_error_with_id(const char *id, const char *fmt, va_list args)
OCTINTERP_API void vmessage(const char *name, const char *fmt, va_list args)
OCTINTERP_API void message_with_id(const char *id, const char *name, const char *fmt,...)
OCTINTERP_API void error(const char *fmt,...)
OCTINTERP_API void usage_with_id(const char *id, const char *fmt,...)
OCTINTERP_API void verror(const char *fmt, va_list args)
OCTINTERP_API void error_with_id(const char *id, const char *fmt,...)
OCTINTERP_API void usage(const char *fmt,...)
OCTINTERP_API void disable_warning(const std::string &id)
OCTINTERP_API bool discard_error_messages
OCTINTERP_API std::string last_warning_id(void)
OCTINTERP_API std::string last_error_id(void)
OCTINTERP_API bool Vdebug_on_warning
OCTINTERP_API void verror_with_id(const char *id, const char *fmt, va_list args)
OCTINTERP_API int warning_enabled(const std::string &id)
OCTINTERP_API bool discard_warning_messages
OCTINTERP_API std::string last_error_message(void)
OCTINTERP_API int error_state
OCTINTERP_API void error_with_id_cfn(const char *id, const char *fmt,...)
OCTINTERP_API bool Vdebug_on_error
OCTINTERP_API octave_map last_error_stack(void)
OCTINTERP_API void parse_error(const char *fmt,...)
OCTINTERP_API int warning_state
OCTINTERP_API void vparse_error(const char *fmt, va_list args)
OCTINTERP_API int buffer_error_messages
OCTINTERP_API void verror_with_cfn(const char *fmt, va_list args)
OCTINTERP_API void interpreter_try(unwind_protect &)
OCTINTERP_API std::string last_warning_message(void)
OCTINTERP_API void vwarning_with_id(const char *id, const char *fmt, va_list args)
OCTINTERP_API void error_with_cfn(const char *fmt,...)
OCTINTERP_API void defun_usage_message(const std::string &msg)
OCTINTERP_API void warning(const char *fmt,...)
OCTINTERP_API void parse_error_with_id(const char *id, const char *fmt,...)
OCTINTERP_API void vwarning(const char *fmt, va_list args)