40 (*current_liboctave_error_handler)
41 (
"invalid conversion from NaN to logical");
47 (*current_liboctave_error_handler)
48 (
"invalid conversion from NaN to character");
57 (*current_liboctave_error_with_id_handler)
58 (err_id,
"%s: nonconformant arguments (op1 len: %d, op2 len: %d)",
59 op, op1_len, op2_len);
69 (*current_liboctave_error_with_id_handler)
70 (err_id,
"%s: nonconformant arguments (op1 is %dx%d, op2 is %dx%d)",
71 op, op1_nr, op1_nc, op2_nr, op2_nc);
80 std::string op1_dims_str = op1_dims.
str ();
81 std::string op2_dims_str = op2_dims.
str ();
83 (*current_liboctave_error_with_id_handler)
84 (err_id,
"%s: nonconformant arguments (op1 is %s, op2 is %s)",
85 op, op1_dims_str.c_str (), op2_dims_str.c_str ());
97 (*current_liboctave_error_with_id_handler)
98 (err_id,
"A(I): index out of bounds; value %d out of bound %d",
103 (*current_liboctave_error_with_id_handler)
104 (err_id,
"A(I,J): %s index out of bounds; value %d out of bound %d",
105 (dim == 1) ?
"row" :
"column", idx, ext);
109 (*current_liboctave_error_with_id_handler)
110 (err_id,
"A(I,J,...): index to dimension %d out of bounds; value %d out of bound %d",
122 (*current_liboctave_error_with_id_handler)
123 (err_id,
"A(%s) = []: index out of bounds; value %d out of bound %d",
124 is1d ?
"I" :
"..,I,..", idx, ext);
132 (*current_liboctave_error_with_id_handler)
133 #ifdef USE_64_BIT_IDX_T
134 (err_id,
"subscript indices must be either positive integers less than 2^63 or logicals");
136 (err_id,
"subscript indices must be either positive integers less than 2^31 or logicals");
150 (*current_liboctave_error_with_id_handler)
151 (
"Octave:invalid-resize",
152 "Invalid resizing operation or ambiguous assignment to an out-of-bounds array element");
158 (*current_liboctave_error_handler)
159 (
"A(I) = X: X must have the same size as I");
165 (*current_liboctave_error_handler)
166 (
"A(I,J,...) = X: dimensions mismatch");