GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
error.h File Reference
#include "octave-config.h"
#include <cstdarg>
#include <string>
#include "unwind-prot.h"
Include dependency graph for error.h:

Go to the source code of this file.

Namespaces

 octave
 

Macros

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

Functions

OCTINTERP_API void defun_usage_message (const std::string &msg)
 
OCTINTERP_API void disable_warning (const std::string &id)
 
OCTAVE_NORETURN OCTINTERP_API void error (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error (octave::execution_exception &, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error_with_cfn (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error_with_id (const char *id, const char *fmt,...)
 
OCTAVE_NORETURN 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 (octave::unwind_protect &)
 
OCTINTERP_API std::string last_error_id (void)
 
OCTINTERP_API std::string last_error_message (void)
 
OCTINTERP_API octave_map last_error_stack (void)
 
OCTINTERP_API std::string last_warning_id (void)
 
OCTINTERP_API std::string last_warning_message (void)
 
OCTINTERP_API octave::execution_exception make_execution_exception (const char *who)
 
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,...)
 
OCTAVE_NORETURN OCTINTERP_API void panic (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void parse_error (const char *fmt,...)
 
OCTAVE_NORETURN 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)
 
OCTAVE_NORETURN OCTINTERP_API void usage (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void usage_with_id (const char *id, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void verror (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror (octave::execution_exception &, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror_with_cfn (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror_with_id (const char *id, const char *fmt, va_list args)
 
OCTAVE_NORETURN 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)
 
OCTAVE_NORETURN OCTINTERP_API void vparse_error (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vparse_error_with_id (const char *id, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vusage (const char *fmt, va_list args)
 
OCTAVE_NORETURN 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 int in_try_catch
 
OCTINTERP_API bool Vdebug_on_caught
 
OCTINTERP_API bool Vdebug_on_error
 
OCTINTERP_API bool Vdebug_on_warning
 
OCTINTERP_API int warning_state
 

Macro Definition Documentation

◆ panic_impossible

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

Definition at line 40 of file error.h.

Referenced by octave::tree_array_list::accept(), mxArray_number::as_octave_value(), mxArray_sparse::as_octave_value(), octave_base_matrix< boolNDArray >::assign(), octave_user_function::call(), check_access(), octave_function::clone(), hdf5_fstreambase::close(), do_history(), octave::base_stream::do_scanf(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_axes(), octave::opengl_renderer::draw_axes_boxes(), octave::opengl_renderer::draw_axes_children(), octave::opengl_renderer::draw_axes_grids(), octave::opengl_renderer::draw_axes_planes(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_image(), octave::opengl_renderer::draw_light(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_pixels(), octave::opengl_renderer::draw_surface(), octave::opengl_renderer::draw_text(), octave::opengl_renderer::draw_text_background(), octave::tree_array_list::dup(), octave::tree_multi_assignment::dup(), octave_function::empty_clone(), octave_value::empty_conv(), octave::opengl_renderer::end_marker(), octave::tree_evaluator::evaluate(), octave::tree_evaluator::evaluate_n(), octave::opengl_renderer::finish(), Fquad(), Fqz(), octave::jit_paren_subsref::generate_matrix(), octave::jit_paren_subsasgn::generate_matrix(), octave::opengl_renderer::get_pixels(), mxArray_number::get_scalar(), octave::tree_index_expression::get_struct_index(), base_properties::has_property(), octave::opengl_renderer::init_gl_context(), base_properties::init_integerhandle(), octave::opengl_renderer::init_marker(), octave::jit_typeinfo::instance(), octave_java::is_instance_of(), octave_java::is_java_string(), octave_struct::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_cell::load_ascii(), octave_complex_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), octave_class::load_ascii(), octave_float_matrix::load_ascii(), octave_bool_matrix::load_ascii(), octave_matrix::load_ascii(), octave_scalar_struct::load_ascii(), octave_class::load_binary(), octave::tree_index_expression::lvalue(), make_idx_args(), octave::opengl_renderer::make_marker_list(), octave_print_internal(), octave::octave_scan(), hdf5_fstreambase::open(), octave::opengl_renderer::render_grid(), octave::opengl_renderer::render_text(), octave::opengl_renderer::render_tickmarks(), octave::opengl_renderer::render_ticktexts(), mxArray_octave_value::request_mutation(), octave_user_function::restore_warning_states(), octave_char_matrix_str::save_ascii(), octave::opengl_renderer::set_clipbox(), octave::opengl_renderer::set_clipping(), octave::opengl_renderer::set_color(), octave::opengl_renderer::set_linestyle(), octave::opengl_renderer::set_linewidth(), octave::opengl_renderer::set_normal(), octave::opengl_renderer::set_polygon_offset(), octave::opengl_renderer::set_viewport(), octave::opengl_renderer::setup_opengl_transformation(), octave_base_scalar< bool >::subsasgn(), octave_base_diag< DiagMatrix, Matrix >::subsasgn(), octave_struct::subsasgn(), octave_base_matrix< boolNDArray >::subsasgn(), octave_cell::subsasgn(), octave_base_sparse< SparseComplexMatrix >::subsasgn(), octave_base_value::subsasgn(), octave_class::subsasgn_common(), octave_perm_matrix::subsref(), octave_base_scalar< bool >::subsref(), octave_base_diag< DiagMatrix, Matrix >::subsref(), octave_struct::subsref(), octave_base_matrix< boolNDArray >::subsref(), octave_cell::subsref(), octave_base_sparse< SparseComplexMatrix >::subsref(), octave_fcn_handle::subsref(), octave_range::subsref(), octave_class::subsref(), octave::jit_terminator::successor_index(), octave::tree_breakpoint::take_action(), octave::jit_error_check::variable_to_string(), octave::jit_convert_llvm::visit(), octave::tree_breakpoint::visit_anon_fcn_handle(), octave::tree_breakpoint::visit_argument_list(), octave::tree_evaluator::visit_argument_list(), octave::tree_breakpoint::visit_binary_expression(), octave::tree_breakpoint::visit_cell(), octave::tree_breakpoint::visit_colon_expression(), octave::tree_breakpoint::visit_constant(), octave::tree_breakpoint::visit_decl_elt(), octave::tree_breakpoint::visit_decl_init_list(), octave::tree_evaluator::visit_do_until_command(), octave::tree_breakpoint::visit_fcn_handle(), octave::tree_breakpoint::visit_funcall(), octave::tree_breakpoint::visit_identifier(), octave::tree_breakpoint::visit_if_clause(), octave::tree_evaluator::visit_if_clause(), octave::tree_breakpoint::visit_index_expression(), octave::tree_print_code::visit_index_expression(), octave::tree_evaluator::visit_index_expression(), octave::tree_breakpoint::visit_matrix(), octave::tree_breakpoint::visit_multi_assignment(), octave::tree_evaluator::visit_octave_user_function(), octave::tree_breakpoint::visit_octave_user_function_header(), octave::tree_evaluator::visit_octave_user_function_header(), octave::tree_breakpoint::visit_octave_user_function_trailer(), octave::tree_evaluator::visit_octave_user_function_trailer(), octave::tree_evaluator::visit_octave_user_script(), octave::tree_breakpoint::visit_parameter_list(), octave::tree_evaluator::visit_parameter_list(), octave::tree_breakpoint::visit_postfix_expression(), octave::tree_breakpoint::visit_prefix_expression(), octave::tree_breakpoint::visit_return_list(), octave::tree_evaluator::visit_return_list(), octave::tree_breakpoint::visit_simple_assignment(), octave::tree_breakpoint::visit_switch_case(), octave::tree_evaluator::visit_switch_case(), octave::tree_evaluator::visit_switch_case_list(), and octave::tree_evaluator::visit_while_command().

Function Documentation

◆ defun_usage_message()

OCTINTERP_API void defun_usage_message ( const std::string msg)

Definition at line 965 of file error.cc.

References defun_usage_message_1().

◆ disable_warning()

OCTINTERP_API void disable_warning ( const std::string id)

Referenced by toggle_warn().

◆ error() [1/2]

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

Definition at line 578 of file error.cc.

References verror().

Referenced by octave::__get_interpreter__(), QtHandles::__init__(), octave::__require_current_scope__(), octave::bp_table::add_breakpoint(), add_hdf5_data(), octave::tree_index_expression::append(), mxArray_sparse::as_octave_value(), octave_base_sparse< SparseComplexMatrix >::assign(), octave_map::assign(), bitop(), bitopxx(), octave_mex_function::call(), octave_builtin::call(), octave_user_script::call(), octave_fcn_handle::call(), octave_user_function::call(), octave_map::cat(), cat(), catch(), cdef_class::cdef_class(), cdef_method::cdef_method(), cdef_package::cdef_package(), cdef_property::cdef_property(), octave_char_matrix_str::cellstr_value(), octave_cell::cellstr_value(), check_access(), check_exception(), octave::load_path::package_info::check_file_type(), check_hdf5_id_value(), check_version(), class_fevalStatic(), class_fromName(), class_getConstant(), octave_oncleanup::clone(), color_values::color_values(), Cell::column(), octave_class::exemplar_info::compare(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), octave_map::concat(), octave::bp_table::condition_valid(), octave_link::connect_link(), octave::convert_data(), property::create(), color_property::current_value(), double_radio_property::current_value(), octave::bp_table::dbstop_process_map_args(), decode_subscripts(), octave::tree_evaluator::define_parameter_list_from_arg_vector(), octave_base_sparse< SparseComplexMatrix >::delete_elements(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), symbol_info_list::symbol_info::display_line(), do_bessel(), do_edit_history(), gh_manager::do_execute_callback(), do_fft(), do_fft2(), do_fftn(), gh_manager::do_free(), do_fwrite(), do_history(), octave_base_sparse< SparseComplexMatrix >::do_index_op(), octave_base_value::do_index_op(), do_isglobal(), gh_manager::do_make_graphics_handle(), do_minmax_body(), octave_value::do_non_const_unary_op(), QtHandles::GLCanvas::do_print(), octave::do_printf_conv(), octave::do_printf_string(), do_rand(), gh_manager::do_renumber_figure(), octave::textscan::do_scan(), base_property::do_set(), string_property::do_set(), string_array_property::do_set(), text_label_property::do_set(), radio_property::do_set(), color_property::do_set(), double_property::do_set(), double_radio_property::do_set(), array_property::do_set(), handle_property::do_set(), children_property::do_set(), callback_property::do_set(), do_tril(), do_trilu(), do_triu(), do_who(), octave_class::dotref(), double_radio_property::double_value(), octave::tree_evaluator::echo(), err_2_or_3_dim_plot(), err_assign_conversion_failed(), octave::err_bad_result(), err_data_conversion(), err_disabled_feature(), err_failed_diagonalization(), err_indexed_assignment(), err_indexed_cs_list(), err_invalid_conversion(), octave::err_invalid_file_id(), err_invalid_index1(), err_invalid_index_for_assignment(), err_invalid_index_type(), err_invalid_inquiry_subscript(), cdef_object_rep::err_invalid_object(), err_invalid_structure_assignment(), mxArray_base::err_invalid_type(), mxArray_matlab::err_invalid_type(), err_method_access(), err_no_conversion(), err_nonbraced_cs_list_assignment(), err_nonconformant(), err_nonsquare_matrix(), err_not_implemented(), err_property_access(), err_range_invalid(), err_set_invalid(), err_square_matrix_required(), err_string_invalid(), err_unary_op(), err_unary_op_conv(), err_unary_op_conversion_failed(), err_unrecognized_data_fmt(), err_unrecognized_float_fmt(), err_user_returned_invalid(), err_user_supplied_eval(), err_wrong_type_arg(), err_wrong_type_arg_for_binary_op(), err_wrong_type_arg_for_unary_op(), octave::tree_checker::errmsg(), octave::opengl_tesselator::error(), octave::stream::error(), eval_error(), octave_class::exemplar_info::exemplar_info(), extended_gcd(), extract_function(), F__dsearchn__(), F__ftp_ascii__(), F__ftp_binary__(), F__ftp_close__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__get_frame__(), F__lin_interpn__(), F__magick_read__(), F__pchip_deriv__(), F__zoom__(), Fbalance(), Fblkmm(), Fcell2struct(), Fcolloc(), Fconv2(), Fdaspk(), Fdasrt(), Fdassl(), Feig(), Fellipj(), Ffilter(), Ffunctions(), Fget(), Fgsvd(), filter(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_matrix_value(), OCTAVE_VALUE_INT_MATRIX_T::float_matrix_value(), Flsode(), Fmgorth(), Fnproc(), Fnumfields(), fopen_mode_to_ios_mode(), Fopenvar(), for(), Fquad(), Fqz(), Frcond(), octave::url_handle_manager::free(), Fspparms(), Fsvd(), octave::ft_manager::ft_manager(), Ftoc(), G__delaunayn__(), G__eigs__(), G__glpk__(), G__init_fltk__(), G__init_gnuplot__(), G__ode15__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudiodevinfo(), Gaudioread(), Gccolamd(), Gchol(), Gcolamd(), Gconvhulln(), base_property::get(), cdef_object_scalar::get(), get_blkmm_dims(), get_dim_vector(), base_properties::get_dynamic(), octave::stream_list::get_file_number(), get_graphics_object_type(), octave::stream_list::get_info(), get_lines_and_columns(), get_mapper_fun_options(), QtHandles::ObjectProxy::get_pixels(), cdef_object_scalar::get_property(), base_properties::get_property_dynamic(), get_region_range(), octave::get_size(), octave::gtk_manager::get_toolkit(), Gfftw(), octave::gl2ps_print(), glpk(), Gqr(), gripe_2_or_3_dim_plot(), gripe_data_conversion(), gripe_disabled_feature(), gripe_empty_arg(), base_graphics_toolkit::gripe_if_tkit_invalid(), gripe_indexed_cs_list(), gripe_invalid_conversion(), gripe_invalid_inquiry_subscript(), gripe_nonbraced_cs_list_assignment(), gripe_nonconformant(), gripe_not_implemented(), gripe_not_supported(), gripe_range_invalid(), gripe_square_matrix_required(), gripe_string_invalid(), 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(), Gsymbfact(), hdf5_read_next_data_internal(), hex2nibble(), hex2num(), hook_function::hook_function(), ichol_0(), ichol_checkpivot_complex(), ichol_checkpivot_real(), ichol_t(), identity_matrix(), if(), ilu_0(), index_error(), octave_class::index_vector(), initial_class_path(), initialize_jvm(), octave::stream_list::insert(), octave::fcn_info::fcn_info_rep::install_built_in_dispatch(), octave::symbol_table::install_built_in_dispatch(), octave_errno::instance_ok(), octave::pager_stream::instance_ok(), octave::shortcut_manager::instance_ok(), octave::resource_manager::instance_ok(), octave::diary_stream::instance_ok(), octave::ft_manager::instance_ok(), octave::display_info::instance_ok(), mxArray_number::int_to_ov(), mxArray_base::invalid_type_error(), octave::tree_evaluator::is_logically_true(), octave_cell::is_sorted_rows(), octave_cell::is_true(), is_valid_function(), octave_cell::issorted(), lin_interpn(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::load_ascii(), octave_fcn_handle::load_ascii(), octave_struct::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_cell::load_ascii(), octave_complex_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), octave_base_int_scalar< OCTAVE_INT_T >::load_ascii(), octave_base_sparse< SparseComplexMatrix >::load_ascii(), octave_float_complex::load_ascii(), octave_complex::load_ascii(), octave_class::load_ascii(), octave_float_matrix::load_ascii(), octave_base_diag< DiagMatrix, Matrix >::load_ascii(), octave_lazy_index::load_ascii(), octave_bool_matrix::load_ascii(), octave_perm_matrix::load_ascii(), octave_matrix::load_ascii(), octave_bool::load_ascii(), octave_float_scalar::load_ascii(), octave_scalar::load_ascii(), octave_scalar_struct::load_ascii(), octave_range::load_ascii(), octave_sparse_bool_matrix::load_binary(), octave_fcn_handle::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_struct::load_binary(), octave_sparse_matrix::load_binary(), octave_cell::load_binary(), octave_lazy_index::load_binary(), octave_scalar_struct::load_binary(), octave_fcn_handle::load_hdf5(), octave::dynamic_loader::load_mex(), octave::dynamic_loader::load_oct(), octave::tree_expression::lvalue(), octave::tree_index_expression::lvalue(), octave_value_list::make_argv(), cdef_manager::make_class(), make_fcn_handle(), make_idx_args(), octave::url_handle_manager::make_url_handle(), mex::malloc_unmarked(), octave_char_matrix::map(), octave_base_value::map(), octave::symbol_record::symbol_record_rep::mark_persistent(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), cdef_meta_object_rep::meta_subsref(), mexErrMsgIdAndTxt(), mexErrMsgTxt(), mk_tmp_hist_file(), octave_base_value::nint_value(), octave_class::numel(), octave_classdef::numel(), octave_base_value::numeric_assign(), oct_binop_pow(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), oct_unop_hermitian(), oct_unop_transpose(), octave_change_to_directory(), octave_class::octave_class(), octave_fcn_handle::octave_fcn_handle(), octave_fcn_inline::octave_fcn_inline(), octave_handle::octave_handle(), octave_oncleanup::octave_oncleanup(), octave_qhull_dims_ok(), octave_range::octave_range(), octcellregexp(), octave_value::op_eq_to_binary_op(), open_diary_file(), octave::opengl_renderer::opengl_renderer(), octave_map::optimize_dimensions(), octave_scalar_map::orderfields(), octave_map::orderfields(), octave::bp_table::parse_dbfunction_params(), parse_options(), octave::textscan::parse_options(), symbol_info_list::parse_whos_line_format(), pattern(), permute_to_correct_order(), print_usage(), octave::textscan_format_list::process_conversion(), octave::call_stack::push(), qp(), read_binary_data(), read_file(), octave::textscan::read_format_once(), read_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), read_mat_file_header(), read_text_data(), reinterpret_copy(), reinterpret_int_copy(), octave::bp_table::remove_all_breakpoints_in_file(), octave::bp_table::remove_breakpoint(), children_property::renumber(), reparent(), octave::symbol_table::require_current_scope(), octave::profiler::reset(), rethrow_error(), color_property::rgb(), run_command_and_return_output(), save_mat5_binary_element(), save_three_d(), octave_base_value::scalar_map_value(), base_scaler::scale(), property_list::set(), graphics_object::set(), figure::properties::set___graphics_toolkit__(), base_properties::set_dynamic(), octave_fcn_handle::set_fcn(), set_format_style(), base_properties::set_from_list(), octave::octave_lvalue::set_index(), octave::ft_text_renderer::set_mode(), base_properties::set_parent(), cdef_object_scalar::set_property(), octave::symbol_table::set_scope_and_context(), axes::properties::set_text_child(), octave_map::setfield(), simple_gcd(), octave_class::size(), octave_cell::sort(), octave_cell::sort_rows_idx(), sparse(), octave_value_list::splice(), octave_base_value::squeeze(), octave::tree_identifier::static_workspace_error(), string_array_property::string_array_property(), octave_char_matrix_str::string_value(), octave_char_matrix_str::string_vector_value(), octave_class::string_vector_value(), octave_base_scalar< bool >::subsasgn(), octave_base_diag< DiagMatrix, Matrix >::subsasgn(), octave_struct::subsasgn(), octave_base_matrix< boolNDArray >::subsasgn(), octave_cell::subsasgn(), octave_base_sparse< SparseComplexMatrix >::subsasgn(), octave_scalar_struct::subsasgn(), octave_base_value::subsasgn(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_perm_matrix::subsref(), octave_base_scalar< bool >::subsref(), octave_base_diag< DiagMatrix, Matrix >::subsref(), octave_base_matrix< boolNDArray >::subsref(), octave_cell::subsref(), octave_base_sparse< SparseComplexMatrix >::subsref(), octave_fcn_handle::subsref(), octave_range::subsref(), octave_base_value::subsref(), symbol_exist(), octave::opengl_tesselator::tess_error(), to_cdef(), to_cdef_ref(), octave::tree_decl_command::tree_decl_command(), octave::tree_funcall::tree_funcall(), try_cellfun_internal_ops(), octave_value::unary_op_to_assign_op(), base_scaler::unscale(), base_graphics_object::update_axis_limits(), octave::symbol_scope_rep::update_nest(), radio_values::validate(), color_values::validate(), array_property::validate(), validate_property_name(), base_graphics_object::value_as_string(), base_property::values_as_cell(), base_property::values_as_string(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), octave::tree_evaluator::visit_break_command(), octave::tree_evaluator::visit_cell(), octave::tree_evaluator::visit_colon_expression(), octave::tree_evaluator::visit_complex_for_command(), octave::tree_evaluator::visit_constant(), octave::tree_evaluator::visit_decl_elt(), octave::tree_evaluator::visit_index_expression(), octave::tree_evaluator::visit_multi_assignment(), octave::tree_evaluator::visit_simple_assignment(), octave::tree_evaluator::visit_simple_for_command(), octave::tree_evaluator::visit_statement_list(), octave::tree_evaluator::visit_switch_command(), write_mat5_array(), xpow(), and mex::~mex().

◆ error() [2/2]

OCTAVE_NORETURN OCTINTERP_API void error ( octave::execution_exception &  ,
const char *  fmt,
  ... 
)

Definition at line 593 of file error.cc.

References e, and verror().

◆ error_with_cfn()

OCTAVE_NORETURN OCTINTERP_API void error_with_cfn ( const char *  fmt,
  ... 
)

Definition at line 608 of file error.cc.

References verror_with_cfn().

◆ error_with_id()

◆ error_with_id_cfn()

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

Definition at line 638 of file error.cc.

References verror_with_id_cfn().

◆ initialize_default_warning_state()

OCTINTERP_API void initialize_default_warning_state ( void  )

◆ interpreter_try()

OCTINTERP_API void interpreter_try ( octave::unwind_protect )

◆ last_error_id()

◆ last_error_message()

◆ last_error_stack()

OCTINTERP_API octave_map last_error_stack ( void  )

◆ last_warning_id()

OCTINTERP_API std::string last_warning_id ( void  )

◆ last_warning_message()

OCTINTERP_API std::string last_warning_message ( void  )

◆ make_execution_exception()

OCTINTERP_API octave::execution_exception make_execution_exception ( const char *  who)

Definition at line 341 of file error.cc.

References pr_where(), and retval.

Referenced by err_user_supplied_eval(), err_wrong_type_arg(), error_1(), rethrow_error(), and usage_1().

◆ message()

◆ message_with_id()

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

Definition at line 451 of file error.cc.

References name, and vmessage_with_id().

◆ panic()

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

◆ parse_error()

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

Definition at line 831 of file error.cc.

References vparse_error().

◆ parse_error_with_id()

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

Definition at line 846 of file error.cc.

References vparse_error_with_id().

◆ reset_error_handler()

OCTINTERP_API void reset_error_handler ( void  )

Definition at line 125 of file error.cc.

References buffer_error_messages, discard_error_messages, and in_try_catch.

◆ set_warning_state() [1/2]

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

Referenced by toggle_warn().

◆ set_warning_state() [2/2]

OCTINTERP_API octave_value_list set_warning_state ( const octave_value_list args)

◆ usage()

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

Definition at line 487 of file error.cc.

References usage_1().

◆ usage_with_id()

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

Definition at line 502 of file error.cc.

References vusage_with_id().

◆ verror() [1/2]

OCTAVE_NORETURN OCTINTERP_API void verror ( const char *  fmt,
va_list  args 
)

Definition at line 572 of file error.cc.

References error_1().

◆ verror() [2/2]

OCTAVE_NORETURN OCTINTERP_API void verror ( octave::execution_exception &  ,
const char *  fmt,
va_list  args 
)

Definition at line 587 of file error.cc.

References e, and error_1().

◆ verror_with_cfn()

OCTAVE_NORETURN OCTINTERP_API void verror_with_cfn ( const char *  fmt,
va_list  args 
)

Definition at line 602 of file error.cc.

References error_1().

Referenced by error_with_cfn().

◆ verror_with_id()

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

Definition at line 617 of file error.cc.

References error_1().

Referenced by error_with_id(), and mexErrMsgIdAndTxt().

◆ verror_with_id_cfn()

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

Definition at line 632 of file error.cc.

References error_1().

Referenced by error_with_id_cfn().

◆ vmessage()

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

Definition at line 429 of file error.cc.

References name, and verror().

Referenced by message().

◆ vmessage_with_id()

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

Definition at line 444 of file error.cc.

References name, and verror().

Referenced by message_with_id().

◆ vparse_error()

OCTAVE_NORETURN OCTINTERP_API void vparse_error ( const char *  fmt,
va_list  args 
)

Definition at line 825 of file error.cc.

References error_1().

Referenced by parse_error().

◆ vparse_error_with_id()

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

Definition at line 840 of file error.cc.

References error_1().

Referenced by parse_error_with_id().

◆ vusage()

OCTAVE_NORETURN OCTINTERP_API void vusage ( const char *  fmt,
va_list  args 
)

Definition at line 481 of file error.cc.

References usage_1().

◆ vusage_with_id()

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

Definition at line 496 of file error.cc.

References usage_1().

Referenced by usage_with_id().

◆ vwarning()

OCTINTERP_API void vwarning ( const char *  fmt,
va_list  args 
)

Definition at line 795 of file error.cc.

References warning_1().

◆ vwarning_with_id()

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

Definition at line 810 of file error.cc.

References warning_1().

Referenced by mexWarnMsgIdAndTxt(), and warning_with_id().

◆ warning()

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

Definition at line 801 of file error.cc.

References vwarning().

Referenced by octave::load_path::add(), octave_user_code::cache_function_text(), octave::file_editor_tab::check_valid_codec(), octave::files_dock_widget::contextmenu_delete(), convert_cdata(), octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_base_int_scalar< OCTAVE_INT_T >::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), octave_scalar::convert_to_str_internal(), octave::opengl_texture::create(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), gh_manager::do_close_all_figures(), octave::ft_manager::do_get_font(), do_load(), do_minmax_body(), do_regexp_ptn_string_escapes(), do_regexp_rep_string_escapes(), do_save(), do_who(), octave::documentation::documentation(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_axes(), octave::opengl_renderer::draw_image(), octave::opengl_renderer::draw_patch(), dump_octave_core(), eigs_func(), extract_function(), Fbalance(), Fformat(), Fgsvd(), Fopenvar(), for(), mex::free(), free_qhull_memory(), mex::free_value(), Fschur(), Fspparms(), Gaudiodevinfo(), Gconvhulln(), octave::ft_text_renderer::ft_font::get_face(), octave::get_fcn_files(), octave_user_code::get_file_info(), octave::load_path::dir_info::get_file_list(), mex::global_mark(), mex::global_unmark(), Gqr(), gripe_empty_arg(), gripe_invalid_value_specified(), gripe_wrong_type_arg(), hdf5_read_next_data_internal(), if(), octave::opengl_renderer::init_gl_context(), octave::load_path::dir_info::initialize(), octave::fcn_info::fcn_info_rep::install_built_in_dispatch(), octave_class::load_ascii(), octave_class::load_binary(), octave_class::load_hdf5(), lsode_user_function(), lsode_user_jacobian(), octave::opengl_renderer::make_marker_list(), mex::mark(), mex::mark_foreign(), octave::tree::meets_bp_condition(), mexWarnMsgTxt(), octave_oncleanup::octave_oncleanup(), octave::bp_table::parse_dbfunction_params(), parse_save_options(), quad_float_user_function(), quad_user_function(), read_file(), octave::textscan::read_format_once(), read_mat5_binary_element(), read_mat5_binary_file_header(), octave_class::reconstruct_exemplar(), octave::type_info::register_assign_op(), octave::type_info::register_assignany_op(), octave::type_info::register_binary_class_op(), octave::type_info::register_binary_op(), octave::type_info::register_cat_op(), octave::type_info::register_non_const_unary_op(), octave::type_info::register_pref_assign_conv(), octave::type_info::register_type(), octave::type_info::register_unary_class_op(), octave::type_info::register_unary_op(), octave::type_info::register_widening_op(), octave::documentation::registerDoc(), octave::load_path::remove(), octave_oncleanup::save_ascii(), octave_oncleanup::save_binary(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_matrix::save_binary(), octave_oncleanup::save_hdf5(), octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_mat_ascii_data(), save_three_d(), save_vars(), octave::opengl_selector::select(), octave::ft_text_renderer::set_color(), octave::shortcut_manager::shortcut_dialog_finished(), mex::unmark(), mex::unmark_foreign(), QtHandles::ButtonControl::update(), QtHandles::PopupMenuControl::update(), octave::load_path::dir_info::update(), octave::ft_text_renderer::visit(), warn_dim_too_large(), warn_disabled_feature(), warn_empty_arg(), warn_invalid_value_specified(), octave::event_queue_safe::warn_unhandled_exception(), warn_wrong_type_arg(), write_mat5_array(), xpow(), axes::properties::zoom(), and octave_oncleanup::~octave_oncleanup().

◆ warning_enabled()

OCTINTERP_API int warning_enabled ( const std::string id)

◆ warning_with_id()

Variable Documentation

◆ buffer_error_messages

◆ discard_error_messages

◆ discard_warning_messages

OCTINTERP_API bool discard_warning_messages

Definition at line 122 of file error.cc.

Referenced by generate_struct_completions(), vwarning(), and warning_1().

◆ error_state

OCTINTERP_API int error_state

Definition at line 107 of file error.cc.

Referenced by octave::jit_typeinfo::jit_typeinfo().

◆ in_try_catch

OCTINTERP_API int in_try_catch

◆ Vdebug_on_caught

◆ Vdebug_on_error

◆ Vdebug_on_warning

◆ warning_state

OCTINTERP_API int warning_state