#include <cstdarg>
#include <string>
Go to the source code of this file.
Defines | |
#define | octave_error_h 1 |
#define | panic_impossible() |
Functions | |
OCTINTERP_API void | reset_error_handler (void) |
OCTINTERP_API int | warning_enabled (const std::string &id) |
OCTINTERP_API void | vmessage (const char *name, const char *fmt, va_list args) |
OCTINTERP_API void | message (const char *name, const char *fmt,...) |
OCTINTERP_API void | vusage (const char *fmt, va_list args) |
OCTINTERP_API void | usage (const char *fmt,...) |
OCTINTERP_API void | vwarning (const char *fmt, va_list args) |
OCTINTERP_API void | warning (const char *fmt,...) |
OCTINTERP_API void | verror (const char *fmt, va_list args) |
OCTINTERP_API void | error (const char *fmt,...) |
OCTINTERP_API void | vparse_error (const char *fmt, va_list args) |
OCTINTERP_API void | parse_error (const char *fmt,...) |
OCTINTERP_API void | vmessage_with_id (const char *id, 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 | vusage_with_id (const char *id, const char *fmt, va_list args) |
OCTINTERP_API void | usage_with_id (const char *id, const char *fmt,...) |
OCTINTERP_API void | vwarning_with_id (const char *id, const char *fmt, va_list args) |
OCTINTERP_API void | warning_with_id (const char *id, const char *fmt,...) |
OCTINTERP_API void | verror_with_id (const char *id, const char *fmt, va_list args) |
OCTINTERP_API void | error_with_id (const char *id, const char *fmt,...) |
OCTINTERP_API void | vparse_error_with_id (const char *id, const char *fmt, va_list args) |
OCTINTERP_API void | parse_error_with_id (const char *id, const char *fmt,...) |
OCTINTERP_API void | panic (const char *fmt,...) GCC_ATTR_NORETURN |
OCTINTERP_API void | defun_usage_message (const std::string &msg) |
OCTINTERP_API void | disable_warning (const std::string &id) |
OCTINTERP_API void | initialize_default_warning_state (void) |
OCTINTERP_API std::string | last_error_message (void) |
OCTINTERP_API std::string | last_error_id (void) |
OCTINTERP_API std::string | last_warning_message (void) |
OCTINTERP_API std::string | last_warning_id (void) |
Variables | |
OCTINTERP_API bool | Vdebug_on_error |
OCTINTERP_API bool | Vdebug_on_warning |
OCTINTERP_API int | error_state |
OCTINTERP_API int | warning_state |
OCTINTERP_API int | buffer_error_messages |
OCTINTERP_API bool | discard_error_messages |
OCTINTERP_API bool | discard_warning_messages |
#define octave_error_h 1 |
#define panic_impossible | ( | ) |
Value:
panic ("impossible state reached in file `%s' at line %d", \ __FILE__, __LINE__)
OCTINTERP_API void defun_usage_message | ( | const std::string & | msg | ) |
OCTINTERP_API void disable_warning | ( | const std::string & | id | ) |
OCTINTERP_API void error | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API void initialize_default_warning_state | ( | void | ) |
OCTINTERP_API std::string last_error_id | ( | void | ) |
OCTINTERP_API std::string last_error_message | ( | void | ) |
OCTINTERP_API std::string last_warning_id | ( | void | ) |
OCTINTERP_API std::string last_warning_message | ( | void | ) |
OCTINTERP_API void panic | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API void parse_error | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API void reset_error_handler | ( | void | ) |
OCTINTERP_API void usage | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API void verror | ( | 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 vparse_error | ( | const char * | fmt, | |
va_list | args | |||
) |
OCTINTERP_API void vusage | ( | const char * | fmt, | |
va_list | args | |||
) |
OCTINTERP_API void vwarning | ( | const char * | fmt, | |
va_list | args | |||
) |
OCTINTERP_API void warning | ( | const char * | fmt, | |
... | ||||
) |
OCTINTERP_API int warning_enabled | ( | const std::string & | id | ) |
OCTINTERP_API int buffer_error_messages |
OCTINTERP_API bool discard_error_messages |
OCTINTERP_API bool discard_warning_messages |
OCTINTERP_API int error_state |
OCTINTERP_API bool Vdebug_on_error |
OCTINTERP_API bool Vdebug_on_warning |
OCTINTERP_API int warning_state |