Defines | Functions | Variables

error.h File Reference

#include <cstdarg>
#include <string>
Include dependency graph for error.h:

Go to the source code of this file.

Defines

#define panic_impossible()

Functions

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 error_with_cfn (const char *fmt,...)
OCTINTERP_API void error_with_id (const char *id, const char *fmt,...)
OCTINTERP_API void error_with_id_cfn (const char *id, const char *fmt,...)
OCTINTERP_API void initialize_default_warning_state (void)
OCTINTERP_API void interpreter_try (unwind_protect &)
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 message (const char *name, const char *fmt,...)
OCTINTERP_API void message_with_id (const char *id, const char *name, const char *fmt,...)
OCTINTERP_API void panic (const char *fmt,...) GCC_ATTR_NORETURN
OCTINTERP_API void parse_error (const char *fmt,...)
OCTINTERP_API void parse_error_with_id (const char *id, const char *fmt,...)
OCTINTERP_API void reset_error_handler (void)
OCTINTERP_API octave_value_list set_warning_state (const std::string &id, const std::string &state)
OCTINTERP_API octave_value_list set_warning_state (const octave_value_list &args)
OCTINTERP_API void usage (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 verror_with_cfn (const char *fmt, va_list args)
OCTINTERP_API void verror_with_id (const char *id, 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 vmessage (const char *name, 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 vparse_error_with_id (const char *id, const char *fmt, va_list args)
OCTINTERP_API void vusage (const char *fmt, va_list args)
OCTINTERP_API void vusage_with_id (const char *id, const char *fmt, va_list args)
OCTINTERP_API void vwarning (const char *fmt, va_list args)
OCTINTERP_API void vwarning_with_id (const char *id, const char *fmt, va_list args)
OCTINTERP_API void warning (const char *fmt,...)
OCTINTERP_API int warning_enabled (const std::string &id)
OCTINTERP_API void warning_with_id (const char *id, const char *fmt,...)

Variables

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

Define Documentation

#define panic_impossible (  ) 
Value:
panic ("impossible state reached in file '%s' at line %d", \
         __FILE__, __LINE__)

Definition at line 32 of file error.h.

Referenced by mxArray_sparse::as_octave_value(), mxArray_number::as_octave_value(), octave_base_matrix< MT >::assign(), octave_function::clone(), DEFUN(), DEFUN_DLD(), do_diff(), do_history(), octave_base_stream::do_scanf(), octave_function::empty_clone(), octave_value::empty_conv(), find_nonzero_elem_idx(), mxArray_number::get_scalar(), tree_index_expression::get_struct_index(), octave_scalar_struct::load_ascii(), octave_struct::load_ascii(), octave_char_matrix_str::load_ascii(), octave_matrix::load_ascii(), octave_float_matrix::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_complex_matrix::load_ascii(), octave_class::load_ascii(), octave_cell::load_ascii(), octave_bool_matrix::load_ascii(), octave_class::load_binary(), tree_index_expression::lvalue(), tree_index_expression::make_arg_struct(), make_idx_args(), octave_main(), octave_print_internal(), octave_scan(), mxArray_octave_value::request_mutation(), tree_index_expression::rvalue(), octave_char_matrix_str::save_ascii(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_scalar< ST >::subsasgn(), octave_base_matrix< MT >::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_class::subsasgn_common(), octave_user_function::subsref(), octave_struct::subsref(), octave_range::subsref(), octave_perm_matrix::subsref(), octave_mex_function::subsref(), octave_fcn_handle::subsref(), octave_class::subsref(), octave_cell::subsref(), octave_builtin::subsref(), octave_base_sparse< T >::subsref(), octave_base_scalar< ST >::subsref(), octave_base_matrix< MT >::subsref(), octave_base_diag< DMT, MT >::subsref(), tree_breakpoint::take_action(), tree_evaluator::visit_anon_fcn_handle(), tree_breakpoint::visit_anon_fcn_handle(), tree_evaluator::visit_argument_list(), tree_breakpoint::visit_argument_list(), tree_evaluator::visit_binary_expression(), tree_breakpoint::visit_binary_expression(), tree_evaluator::visit_cell(), tree_breakpoint::visit_cell(), tree_evaluator::visit_colon_expression(), tree_breakpoint::visit_colon_expression(), tree_evaluator::visit_constant(), tree_breakpoint::visit_constant(), tree_evaluator::visit_decl_elt(), tree_breakpoint::visit_decl_elt(), tree_evaluator::visit_decl_init_list(), tree_breakpoint::visit_decl_init_list(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_fcn_handle(), tree_breakpoint::visit_fcn_handle(), tree_evaluator::visit_identifier(), tree_breakpoint::visit_identifier(), tree_evaluator::visit_if_clause(), tree_breakpoint::visit_if_clause(), tree_print_code::visit_index_expression(), tree_evaluator::visit_index_expression(), tree_breakpoint::visit_index_expression(), tree_evaluator::visit_matrix(), tree_breakpoint::visit_matrix(), tree_evaluator::visit_multi_assignment(), tree_breakpoint::visit_multi_assignment(), tree_evaluator::visit_octave_user_function(), tree_evaluator::visit_octave_user_function_header(), tree_breakpoint::visit_octave_user_function_header(), tree_evaluator::visit_octave_user_function_trailer(), tree_breakpoint::visit_octave_user_function_trailer(), tree_evaluator::visit_octave_user_script(), tree_evaluator::visit_parameter_list(), tree_breakpoint::visit_parameter_list(), tree_evaluator::visit_postfix_expression(), tree_breakpoint::visit_postfix_expression(), tree_evaluator::visit_prefix_expression(), tree_breakpoint::visit_prefix_expression(), tree_evaluator::visit_return_list(), tree_breakpoint::visit_return_list(), tree_evaluator::visit_simple_assignment(), tree_breakpoint::visit_simple_assignment(), tree_evaluator::visit_switch_case(), tree_breakpoint::visit_switch_case(), tree_evaluator::visit_switch_case_list(), and tree_evaluator::visit_while_command().


Function Documentation

OCTINTERP_API void defun_usage_message ( const std::string &  msg  ) 

Definition at line 756 of file error.cc.

References defun_usage_message_1().

OCTINTERP_API void disable_warning ( const std::string &  id  ) 

Definition at line 1454 of file error.cc.

References set_warning_state().

Referenced by initialize_default_warning_state(), and maximum_braindamage().

OCTINTERP_API void error ( const char fmt,
  ... 
)

Definition at line 483 of file error.cc.

References verror().

Referenced by octave_char_matrix_str::all_strings(), octave_class::all_strings(), tree_index_expression::append(), tree_colon_expression::append(), octave_value::assign(), octave_base_sparse< T >::assign(), Octave_map::assign(), octave_map::assign(), octave_map::cat(), octave_char_matrix_str::cellstr_value(), octave_cell::cellstr_value(), load_path::check_file_type(), check_version(), Cell::column(), octave_class::exemplar_info::compare(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), Octave_map::concat(), octave_map::concat(), convert(), convert_cdata(), tree_argument_list::convert_to_const_vector(), decode_subscripts(), decompose_binary_op(), DEFBINOPX(), DEFCONSTFUN(), tree_parameter_list::define_from_arg_vector(), DEFUN(), DEFUN_DLD(), DEFUNOP(), DEFUNX(), octave_base_sparse< T >::delete_elements(), symbol_info_list::symbol_info::display_line(), do_accumarray_minmax(), do_accumarray_sum(), do_accumdim_sum(), bp_table::do_add_breakpoint(), octave_call_stack::do_backtrace_error_message(), do_bitpack(), do_cumminmax_body(), do_dbstack(), do_dbupdown(), do_extended_gcd(), do_fft(), do_fft2(), do_fftn(), do_fread(), symbol_table::scope_id_cache::do_free(), do_fwrite(), octave_stream_list::do_get_file_number(), octave_stream_list::do_get_info(), do_history(), octave_base_value::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_stream_list::do_insert(), do_isglobal(), do_load(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), do_merge(), do_minmax_body(), octave_user_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_fcn_handle::do_multi_index_op(), octave_builtin::do_multi_index_op(), octave_base_value::do_multi_index_op(), octave_value::do_non_const_unary_op(), do_num2cell_helper(), do_object2cell(), do_printf_conv(), do_rand(), bp_table::do_remove_all_breakpoints_in_file(), bp_table::do_remove_breakpoint(), do_repelems(), do_simple_cellfun(), do_simple_gcd(), do_strcmp_fun(), do_stream_open(), do_tril(), do_trilu(), do_triu(), octave_lvalue::do_unary_op(), do_who(), octave_scalar_struct::dotref(), octave_struct::dotref(), octave_class::dotref(), octave_stream::error(), eval_error(), tree_colon_expression::eval_error(), tree_identifier::eval_undefined_error(), octave_class::exemplar_info::exemplar_info(), extract_function(), fill_matrix(), filter(), find_file_to_load(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_matrix_value(), OCTAVE_VALUE_INT_MATRIX_T::float_matrix_value(), fopen_mode_to_ios_mode(), symbol_table::free_scope(), get_dim_vector(), get_dimensions(), get_global_value(), get_graphics_object_type(), symbol_table::get_instance(), get_lines_and_columns(), get_mapper_fun_options(), get_property_from_handle(), get_size(), get_sort_mode_option(), get_sscanf_data(), tree_index_expression::get_struct_index(), get_top_level_value(), get_user_input(), tree_checker::gripe(), gripe_2_or_3_dim_plot(), gripe_assign_conversion_failed(), gripe_assign_failed_or_no_method(), gripe_bessel_arg(), gripe_binary_op(), gripe_binary_op_conv(), gripe_cat_op(), gripe_cat_op_conv(), gripe_data_conversion(), gripe_empty_arg(), unwind_protect_safe::gripe_exception(), gripe_failed_assignment(), gripe_file_open(), gripe_indexed_assignment(), gripe_indexed_cs_list(), gripe_internal(), gripe_invalid_conversion(), gripe_invalid_file_id(), gripe_invalid_index1(), gripe_invalid_index_for_assignment(), gripe_invalid_index_type(), gripe_invalid_inquiry_subscript(), gripe_library_execution_error(), gripe_no_conversion(), gripe_nonbraced_cs_list_assignment(), gripe_nonconformant(), gripe_not_implemented(), gripe_not_supported(), gripe_range_invalid(), gripe_set_invalid(), gripe_square_matrix_required(), gripe_string_invalid(), gripe_unary_op(), gripe_unary_op_conv(), gripe_unary_op_conversion_failed(), gripe_unrecognized_data_fmt(), gripe_unrecognized_float_fmt(), gripe_user_returned_invalid(), gripe_user_supplied_eval(), gripe_wrong_type_arg(), gripe_wrong_type_arg_for_binary_op(), gripe_wrong_type_arg_for_unary_op(), identity_matrix(), octave_sparse_matrix::index_vector(), octave_complex::index_vector(), octave_class::index_vector(), octave_base_value::index_vector(), octave_call_stack::instance_ok(), symbol_table::scope_id_cache::instance_ok(), octave_child_list::instance_ok(), octave_diary_stream::instance_ok(), octave_pager_stream::instance_ok(), octave_value_typeinfo::instance_ok(), octave_stream_list::instance_ok(), load_path::instance_ok(), octave_dynamic_loader::instance_ok(), octave_mex_file_list::instance_ok(), octave_shlib_list::instance_ok(), display_info::instance_ok(), bp_table::instance_ok(), octave_comment_buffer::instance_ok(), tree_expression::is_logically_true(), octave_cell::is_sorted(), octave_cell::is_sorted_rows(), octave_cell::is_true(), is_valid_function(), isargout1(), lin_interpn(), octave_scalar_struct::load_ascii(), octave_struct::load_ascii(), octave_char_matrix_str::load_ascii(), octave_scalar::load_ascii(), octave_matrix::load_ascii(), octave_range::load_ascii(), octave_perm_matrix::load_ascii(), octave_lazy_index::load_ascii(), octave_float_matrix::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_float_complex::load_ascii(), octave_float_scalar::load_ascii(), octave_fcn_handle::load_ascii(), octave_complex_matrix::load_ascii(), octave_complex::load_ascii(), octave_class::load_ascii(), octave_cell::load_ascii(), octave_bool::load_ascii(), octave_bool_matrix::load_ascii(), octave_base_sparse< T >::load_ascii(), octave_base_int_scalar< T >::load_ascii(), octave_base_int_matrix< T >::load_ascii(), octave_base_diag< DMT, MT >::load_ascii(), octave_scalar_struct::load_binary(), octave_struct::load_binary(), octave_sparse_matrix::load_binary(), octave_lazy_index::load_binary(), octave_fcn_handle::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_class::load_binary(), octave_cell::load_binary(), octave_sparse_bool_matrix::load_binary(), tree_index_expression::lvalue(), tree_expression::lvalue(), octave_value_list::make_argv(), make_fcn_handle(), make_graphics_object(), make_idx_args(), tree_colon_expression::make_range(), mex::malloc_unmarked(), octave_base_value::map(), symbol_table::symbol_record::symbol_record_rep::mark_global(), symbol_table::symbol_record::symbol_record_rep::mark_persistent(), mat2cell_mismatch(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), mexErrMsgIdAndTxt(), mexErrMsgTxt(), mk_tmp_hist_file(), mlock(), octave_base_value::nint_value(), octave_class::numel(), octave_base_value::numeric_assign(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), octave_catch_interrupts(), octave_change_to_directory(), octave_class::octave_class(), octave_fcn_inline::octave_fcn_inline(), Octave_map::Octave_map(), octave_oncleanup::octave_oncleanup(), octave_range::octave_range(), octcellregexp(), octave_value::op_eq_to_binary_op(), open_diary_file(), octave_map::optimize_dimensions(), octave_map::orderfields(), octave_scalar_map::orderfields(), parse_dbfunction_params(), parse_options(), parse_save_options(), symbol_info_list::parse_whos_line_format(), symbol_table::pop_context(), print_usage(), symbol_table::push_context(), qp(), raw_mode(), read_ascii_data(), read_binary_data(), read_binary_file_header(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), read_mat_file_header(), reinterpret_copy(), reparent(), profile_data_accumulator::reset(), run_command_and_return_output(), tree_postfix_expression::rvalue(), tree_prefix_expression::rvalue(), tree_matrix::rvalue(), tree_anon_fcn_handle::rvalue(), tree_fcn_handle::rvalue(), tree_expression::rvalue(), tree_decl_elt::rvalue(), tree_constant::rvalue(), tree_colon_expression::rvalue(), tree_cell::rvalue(), tree_boolean_expression::rvalue(), tree_binary_expression::rvalue(), tree_multi_assignment::rvalue(), tree_simple_assignment::rvalue(), tree_expression::rvalue1(), tree_colon_expression::rvalue1(), tree_cell::rvalue1(), tree_simple_assignment::rvalue1(), save_mat5_binary_element(), save_three_d(), save_vars(), octave_base_value::scalar_map_value(), octave_fcn_handle::set_fcn(), set_format_style(), octave_lvalue::set_index(), set_internal_variable(), set_property_in_handle(), symbol_table::set_scope(), symbol_table::set_scope_and_context(), octave_map::setfield(), octave_class::size(), snarf_file(), octave_cell::sort(), octave_cell::sort_rows_idx(), octave_value_list::splice(), octave_base_value::squeeze(), octave_char_matrix_str::string_value(), octave_scalar_struct::subsasgn(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_scalar< ST >::subsasgn(), octave_base_matrix< MT >::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_class::subsasgn_common(), octave_user_function::subsref(), octave_user_script::subsref(), octave_range::subsref(), octave_perm_matrix::subsref(), octave_mex_function::subsref(), octave_fcn_handle::subsref(), octave_cell::subsref(), octave_builtin::subsref(), octave_base_value::subsref(), octave_base_sparse< T >::subsref(), octave_base_scalar< ST >::subsref(), octave_base_matrix< MT >::subsref(), octave_base_diag< DMT, MT >::subsref(), try_cellfun_internal_ops(), octave_value::unary_op_to_assign_op(), tree_parameter_list::validate(), validate_property_name(), tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_simple_for_command(), tree_evaluator::visit_statement_list(), tree_evaluator::visit_switch_command(), xpow(), mex::~mex(), and octave_oncleanup::~octave_oncleanup().

OCTINTERP_API void error_with_cfn ( const char fmt,
  ... 
)
OCTINTERP_API void error_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 513 of file error.cc.

References verror_with_id().

Referenced by DEFUN().

OCTINTERP_API void error_with_id_cfn ( const char id,
const char fmt,
  ... 
)

Definition at line 528 of file error.cc.

References verror_with_id_cfn().

OCTINTERP_API void initialize_default_warning_state ( void   ) 

Definition at line 1460 of file error.cc.

References disable_warning(), initialize_warning_options(), and set_warning_state().

Referenced by octave_main().

OCTINTERP_API void interpreter_try ( unwind_protect  ) 

Definition at line 1851 of file error.cc.

References unwind_protect::protect_var().

Referenced by octave_fcn_binder::maybe_binder(), and safe_symbol_lookup().

OCTINTERP_API std::string last_error_id ( void   ) 

Definition at line 1833 of file error.cc.

References Vlast_error_id.

Referenced by get_output_list().

OCTINTERP_API std::string last_error_message ( void   ) 

Definition at line 1827 of file error.cc.

References Vlast_error_message.

Referenced by get_output_list().

OCTINTERP_API std::string last_warning_id ( void   ) 

Definition at line 1845 of file error.cc.

References Vlast_warning_id.

OCTINTERP_API std::string last_warning_message ( void   ) 

Definition at line 1839 of file error.cc.

References Vlast_warning_message.

OCTINTERP_API void message ( const char name,
const char fmt,
  ... 
)

Definition at line 322 of file error.cc.

References vmessage().

Referenced by dump_octave_core(), and octave_yes_or_no().

OCTINTERP_API void message_with_id ( const char id,
const char name,
const char fmt,
  ... 
)

Definition at line 338 of file error.cc.

References vmessage_with_id().

OCTINTERP_API void panic ( const char fmt,
  ... 
)

Definition at line 735 of file error.cc.

References verror().

Referenced by symbol_table::alias_built_in_function(), error_1(), and pr_where_2().

OCTINTERP_API void parse_error ( const char fmt,
  ... 
)

Definition at line 702 of file error.cc.

References vparse_error().

OCTINTERP_API void parse_error_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 717 of file error.cc.

References vparse_error_with_id().

OCTINTERP_API void reset_error_handler ( void   ) 

Definition at line 123 of file error.cc.

Referenced by do_octave_atexit(), get_debug_input(), and main_loop().

OCTINTERP_API octave_value_list set_warning_state ( const std::string &  id,
const std::string &  state 
)

Definition at line 1437 of file error.cc.

Referenced by disable_warning(), and initialize_default_warning_state().

OCTINTERP_API octave_value_list set_warning_state ( const octave_value_list args  ) 

Definition at line 1448 of file error.cc.

OCTINTERP_API void usage ( const char fmt,
  ... 
)

Definition at line 360 of file error.cc.

References vusage().

Referenced by DEFUN_DLD(), mk_tmp_hist_file(), and octave_main().

OCTINTERP_API void usage_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 375 of file error.cc.

References vusage_with_id().

Referenced by DEFUN().

OCTINTERP_API void verror ( const char fmt,
va_list  args 
)

Definition at line 477 of file error.cc.

References error_2().

OCTINTERP_API void verror_with_cfn ( const char fmt,
va_list  args 
)

Definition at line 492 of file error.cc.

References error_2().

Referenced by error_with_cfn(), and lo_error_handler().

OCTINTERP_API void verror_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 507 of file error.cc.

References error_2().

Referenced by error_with_id(), and mexErrMsgIdAndTxt().

OCTINTERP_API void verror_with_id_cfn ( const char id,
const char fmt,
va_list  args 
)

Definition at line 522 of file error.cc.

References error_2().

Referenced by error_with_id_cfn(), and lo_error_with_id_handler().

OCTINTERP_API void vmessage ( const char name,
const char fmt,
va_list  args 
)

Definition at line 316 of file error.cc.

References verror().

Referenced by message().

OCTINTERP_API void vmessage_with_id ( const char id,
const char name,
const char fmt,
va_list  args 
)

Definition at line 331 of file error.cc.

References verror().

Referenced by message_with_id().

OCTINTERP_API void vparse_error ( const char fmt,
va_list  args 
)

Definition at line 696 of file error.cc.

References error_1().

Referenced by parse_error().

OCTINTERP_API void vparse_error_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 711 of file error.cc.

References error_1().

Referenced by parse_error_with_id().

OCTINTERP_API void vusage ( const char fmt,
va_list  args 
)

Definition at line 354 of file error.cc.

References usage_1().

Referenced by usage().

OCTINTERP_API void vusage_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 369 of file error.cc.

References usage_1().

Referenced by usage_with_id().

OCTINTERP_API void vwarning ( const char fmt,
va_list  args 
)

Definition at line 666 of file error.cc.

References warning_1().

OCTINTERP_API void vwarning_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 681 of file error.cc.

References warning_1().

Referenced by mexWarnMsgIdAndTxt(), and warning_with_id().

OCTINTERP_API void warning ( const char fmt,
  ... 
)

Definition at line 672 of file error.cc.

References vwarning().

Referenced by octave_scalar::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), octave_base_int_scalar< T >::convert_to_str_internal(), octave_base_int_matrix< T >::convert_to_str_internal(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), DEFUN(), DEFUN_DLD(), DEFUNX(), load_path::do_add(), do_load(), do_minmax_body(), octave_value_typeinfo::do_register_assign_op(), octave_value_typeinfo::do_register_assignany_op(), octave_value_typeinfo::do_register_binary_class_op(), octave_value_typeinfo::do_register_binary_op(), octave_value_typeinfo::do_register_cat_op(), octave_value_typeinfo::do_register_non_const_unary_op(), octave_value_typeinfo::do_register_pref_assign_conv(), octave_value_typeinfo::do_register_type_conv_op(), octave_value_typeinfo::do_register_unary_class_op(), octave_value_typeinfo::do_register_unary_op(), octave_value_typeinfo::do_register_widening_op(), load_path::do_remove(), do_save(), do_string_escapes(), do_who(), dump_octave_core(), eigs_func(), extract_function(), fopen_mode_to_ios_mode(), mex::free(), mex::free_value(), get_fcn_files(), load_path::dir_info::get_file_list(), get_input_from_file(), mex::global_mark(), mex::global_unmark(), gripe_dim_too_large(), gripe_empty_arg(), gripe_invalid_value_specified(), gripe_wrong_type_arg(), display_info::init(), load_path::dir_info::initialize(), initialize_error_handlers(), octave_class::load_ascii(), octave_class::load_binary(), lsode_user_function(), lsode_user_jacobian(), mex::mark(), mex::mark_foreign(), maybe_initialize_magick(), maybe_warn_exclusive(), mexWarnMsgTxt(), octave_oncleanup::octave_oncleanup(), parse_save_options(), quad_float_user_function(), quad_user_function(), raw_mode(), read_mat5_binary_element(), read_mat5_binary_file_header(), octave_class::reconstruct_exemplar(), octave_sparse_matrix::save_binary(), octave_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_complex_diag_matrix::save_binary(), save_mat_ascii_data(), save_three_d(), save_vars(), set_internal_variable(), solve_singularity_warning(), mex::unmark(), mex::unmark_foreign(), load_path::dir_info::update(), warn_save_load(), write_mat5_array(), xpow(), and octave_oncleanup::~octave_oncleanup().

OCTINTERP_API int warning_enabled ( const std::string &  id  ) 
OCTINTERP_API void warning_with_id ( const char id,
const char fmt,
  ... 
)

Variable Documentation

OCTINTERP_API int buffer_error_messages

Definition at line 117 of file error.cc.

Referenced by DEFUN(), generate_struct_completions(), and looks_like_struct().

Definition at line 120 of file error.cc.

Referenced by generate_struct_completions().

OCTINTERP_API int error_state

Definition at line 100 of file error.cc.

Referenced by octave_class::all_strings(), octave_cell::all_strings(), octave_base_value::all_strings(), octave_value::assign(), octave_base_sparse< T >::assign(), octave_base_matrix< MT >::assign(), Octave_map::assign(), octave_map::assign(), call_mex(), octave_base_value::char_matrix_value(), check_limit_vals(), compare_property_values(), octave_value::complex_vector_value(), convert_cdata(), tree_argument_list::convert_to_const_vector(), convert_to_valid_int(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), decode_subscripts(), DEFASSIGNOP(), default_numeric_conversion_function(), DEFUN(), DEFUN_DLD(), DEFUNX(), octave_base_sparse< T >::delete_elements(), octave_map::delete_elements(), dims_to_numel(), do_accumarray_minmax_fun(), load_path::do_add(), octave_call_stack::do_backtrace_error_message(), do_bessel(), do_cellslices_nda(), do_class_concat(), do_cleanup_waitfor_listener(), do_cumminmax_body(), do_cumminmax_red_op(), do_dbstack(), do_dbupdown(), tree_evaluator::do_decl_init_list(), do_extended_gcd(), do_fft(), do_fft2(), do_fftn(), do_fread(), do_fwrite(), do_global_init(), octave_diag_matrix::do_index_op(), octave_range::do_index_op(), octave_perm_matrix::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_base_matrix< MT >::do_index_op(), octave_char_matrix_str::do_index_op_internal(), do_isglobal(), do_keyboard(), do_load(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), octave_stream_list::do_lookup(), do_mat2cell(), do_minmax_bin_op(), do_minmax_body(), do_minmax_red_op(), octave_user_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_builtin::do_multi_index_op(), do_num2cell(), do_object2cell(), do_permute(), octave_base_stream::do_printf(), do_rand(), octave_stream_list::do_remove(), do_simple_cellfun(), do_stream_open(), do_trilu(), tree_evaluator::do_unwind_protect_cleanup_code(), do_who(), octave_class::dotref(), printf_value_cache::double_value(), dump_octave_core(), eigs_complex_func(), eigs_func(), tree_decl_elt::eval(), tree_identifier::eval_undefined_error(), extract_function(), fill_matrix(), symbol_table::fcn_info::fcn_info_rep::find(), symbol_table::fcn_info::fcn_info_rep::find_user_function(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), fopen_mode_to_ios_mode(), generate_struct_completions(), get_dimensions(), get_lines_and_columns(), get_output_list(), get_size(), get_sort_mode_option(), tree_index_expression::get_struct_index(), get_user_input(), octave_stream::getl(), octave_stream::gets(), gripe_library_execution_error(), identity_matrix(), Octave_map::index(), octave_map::index(), Cell::index(), octave_class::index_vector(), tm_const::init(), tm_row_const::tm_row_const_rep::init(), printf_value_cache::int_value(), octave_value::int_vector_value(), interactive_input(), octave_value::is_equal(), is_handle(), is_handle_visible(), tree_expression::is_logically_true(), is_valid_function(), tree_switch_case::label_matches(), octave_scalar_struct::load_ascii(), octave_struct::load_ascii(), octave_char_matrix_str::load_ascii(), octave_lazy_index::load_ascii(), octave_class::load_ascii(), octave_scalar_struct::load_binary(), octave_struct::load_binary(), octave_char_matrix_str::load_binary(), octave_scalar::load_binary(), octave_sparse_matrix::load_binary(), octave_matrix::load_binary(), octave_diag_matrix::load_binary(), octave_lazy_index::load_binary(), octave_float_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_float_complex_diag_matrix::load_binary(), octave_float_complex::load_binary(), octave_float_scalar::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_complex_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_complex::load_binary(), octave_class::load_binary(), octave_sparse_bool_matrix::load_binary(), looks_like_struct(), lsode_user_function(), lsode_user_jacobian(), tree_index_expression::lvalue(), main_loop(), tree_index_expression::make_arg_struct(), make_graphics_object(), tree_colon_expression::make_range(), make_subs_cell(), make_value_list(), octave_scalar::map(), octave_matrix::map(), octave_fcn_binder::maybe_binder(), Octave_map::maybe_delete_elements(), mexCallMATLAB(), mexEvalString(), mexGet(), mexGetVariable(), mexPutVariable(), octave_value::next_subsref(), octave_base_value::nint_value(), octave_base_value::numeric_assign(), oct_assignop_conv_and_assign(), octave_class::octave_class(), octave_value::octave_idx_type_vector_value(), octave_main(), octcellregexp(), octregexp(), octregexprep(), parse_dbfunction_params(), parse_options(), Octave_map::permute(), permute_to_correct_order(), qp(), quad_float_user_function(), quad_user_function(), quit_loop_now(), octave_stream::read(), read_ascii_data(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), reparent(), tree_index_expression::rvalue(), tree_identifier::rvalue(), tree_multi_assignment::rvalue(), tree_postfix_expression::rvalue1(), tree_prefix_expression::rvalue1(), tree_matrix::rvalue1(), tree_colon_expression::rvalue1(), tree_compound_binary_expression::rvalue1(), tree_boolean_expression::rvalue1(), tree_binary_expression::rvalue1(), tree_simple_assignment::rvalue1(), safe_symbol_lookup(), octave_class::save_ascii(), octave_class::save_binary(), save_mat5_binary_element(), save_mat_ascii_data(), save_vars(), octave_base_value::scalar_map_value(), octave_base_stream::scanf(), octave_stream::seek(), gnuplot_graphics_toolkit::send_quit(), set_internal_variable(), set_property_in_handle(), single_type_concat(), octave_stream::skipl(), Octave_map::squeeze(), octave_base_value::string_value(), printf_value_cache::string_value(), octave_scalar_struct::subsasgn(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), octave_class::subsref(), octave_cell::subsref(), try_cellfun_internal_ops(), load_path::dir_info::update(), tree_parameter_list::validate(), octave_value::vector_value(), tree_evaluator::visit_break_command(), tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_continue_command(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_if_command_list(), tree_evaluator::visit_return_command(), tree_evaluator::visit_simple_for_command(), tree_evaluator::visit_statement(), tree_evaluator::visit_statement_list(), tree_evaluator::visit_switch_command(), tree_evaluator::visit_try_catch_command(), tree_evaluator::visit_while_command(), waitfor_del_listener(), waitfor_listener(), octave_stream::write(), xpow(), and octave_oncleanup::~octave_oncleanup().

OCTINTERP_API bool Vdebug_on_error

Definition at line 56 of file error.cc.

Referenced by tree_evaluator::visit_try_catch_command().

OCTINTERP_API bool Vdebug_on_warning

Definition at line 60 of file error.cc.

Referenced by tree_evaluator::visit_try_catch_command().

OCTINTERP_API int warning_state

Definition at line 109 of file error.cc.

Referenced by generate_struct_completions().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines