@@ -112,7 +112,7 @@ function Base.showerror(io::IO, e::CommonKwargError)
112
112
print (io, " Unrecognized keyword arguments: " )
113
113
printstyled (io, unrecognized; bold = true , color = :red )
114
114
print (io, " \n\n " )
115
- println (io, SciMLBase . VERBOSE_MSG)
115
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
116
116
end
117
117
118
118
@enum KeywordArgError KeywordArgWarn KeywordArgSilent
@@ -138,7 +138,7 @@ struct IncompatibleInitialConditionError <: Exception end
138
138
139
139
function Base. showerror (io:: IO , e:: IncompatibleInitialConditionError )
140
140
print (io, INCOMPATIBLE_U0_MESSAGE)
141
- println (io, SciMLBase . VERBOSE_MSG)
141
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
142
142
end
143
143
144
144
const NO_DEFAULT_ALGORITHM_MESSAGE = """
@@ -155,7 +155,7 @@ struct NoDefaultAlgorithmError <: Exception end
155
155
156
156
function Base. showerror (io:: IO , e:: NoDefaultAlgorithmError )
157
157
print (io, NO_DEFAULT_ALGORITHM_MESSAGE)
158
- println (io, SciMLBase . VERBOSE_MSG)
158
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
159
159
end
160
160
161
161
const NO_TSPAN_MESSAGE = """
@@ -166,7 +166,7 @@ struct NoTspanError <: Exception end
166
166
167
167
function Base. showerror (io:: IO , e:: NoTspanError )
168
168
print (io, NO_TSPAN_MESSAGE)
169
- println (io, SciMLBase . VERBOSE_MSG)
169
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
170
170
end
171
171
172
172
const NON_SOLVER_MESSAGE = """
@@ -184,7 +184,7 @@ struct NonSolverError <: Exception end
184
184
185
185
function Base. showerror (io:: IO , e:: NonSolverError )
186
186
print (io, NON_SOLVER_MESSAGE)
187
- println (io, SciMLBase . VERBOSE_MSG)
187
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
188
188
end
189
189
190
190
const PROBSOLVER_PAIRING_MESSAGE = """
@@ -205,7 +205,7 @@ function Base.showerror(io::IO, e::ProblemSolverPairingError)
205
205
println (io, " Solver type: $(SciMLBase. __parameterless_type (typeof (e. alg))) " )
206
206
println (io,
207
207
" Problem types compatible with the chosen solver: $(compatible_problem_types (e. prob,e. alg)) " )
208
- println (io, SciMLBase . VERBOSE_MSG)
208
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
209
209
end
210
210
211
211
function compatible_problem_types (prob, alg)
@@ -246,7 +246,7 @@ struct DirectAutodiffError <: Exception end
246
246
247
247
function Base. showerror (io:: IO , e:: DirectAutodiffError )
248
248
println (io, DIRECT_AUTODIFF_INCOMPATABILITY_MESSAGE)
249
- println (io, SciMLBase . VERBOSE_MSG)
249
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
250
250
end
251
251
252
252
const NONCONCRETE_ELTYPE_MESSAGE = """
280
280
function Base. showerror (io:: IO , e:: NonConcreteEltypeError )
281
281
print (io, NONCONCRETE_ELTYPE_MESSAGE)
282
282
print (io, e. eltype)
283
- println (io, SciMLBase . VERBOSE_MSG)
283
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
284
284
end
285
285
286
286
const GENERIC_NUMBER_TYPE_ERROR_MESSAGE = """
@@ -306,7 +306,7 @@ function Base.showerror(io::IO, e::GenericNumberTypeError)
306
306
println (io, " Solver: $(e. alg) " )
307
307
println (io, " u0 type: $(e. uType) " )
308
308
print (io, " Timespan type: $(e. tType) " )
309
- println (io, SciMLBase . VERBOSE_MSG)
309
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
310
310
end
311
311
312
312
const COMPLEX_SUPPORT_ERROR_MESSAGE = """
325
325
function Base. showerror (io:: IO , e:: ComplexSupportError )
326
326
println (io, COMPLEX_SUPPORT_ERROR_MESSAGE)
327
327
println (io, " Solver: $(e. alg) " )
328
- println (io, SciMLBase . VERBOSE_MSG)
328
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
329
329
end
330
330
331
331
const COMPLEX_TSPAN_ERROR_MESSAGE = """
@@ -340,7 +340,7 @@ struct ComplexTspanError <: Exception end
340
340
341
341
function Base. showerror (io:: IO , e:: ComplexTspanError )
342
342
println (io, COMPLEX_TSPAN_ERROR_MESSAGE)
343
- println (io, SciMLBase . VERBOSE_MSG)
343
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
344
344
end
345
345
346
346
const TUPLE_STATE_ERROR_MESSAGE = """
@@ -378,7 +378,7 @@ struct TupleStateError <: Exception end
378
378
379
379
function Base. showerror (io:: IO , e:: TupleStateError )
380
380
println (io, TUPLE_STATE_ERROR_MESSAGE)
381
- println (io, SciMLBase . VERBOSE_MSG)
381
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
382
382
end
383
383
384
384
const MASS_MATRIX_ERROR_MESSAGE = """
@@ -399,7 +399,7 @@ function Base.showerror(io::IO, e::IncompatibleMassMatrixError)
399
399
println (io, e. sz)
400
400
print (io, " length(u0): " )
401
401
println (e. len)
402
- println (io, SciMLBase . VERBOSE_MSG)
402
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
403
403
end
404
404
405
405
function init_call (_prob, args... ; merge_callbacks = true , kwargshandle = KeywordArgWarn,
@@ -1399,7 +1399,7 @@ struct AdjointNotFoundError <: Exception end
1399
1399
1400
1400
function Base. showerror (io:: IO , e:: AdjointNotFoundError )
1401
1401
print (io, ADJOINT_NOT_FOUND_MESSAGE)
1402
- println (io, SciMLBase . VERBOSE_MSG)
1402
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
1403
1403
end
1404
1404
1405
1405
function _concrete_solve_adjoint (args... ; kwargs... )
@@ -1416,7 +1416,7 @@ struct ForwardSensitivityNotFoundError <: Exception end
1416
1416
1417
1417
function Base. showerror (io:: IO , e:: ForwardSensitivityNotFoundError )
1418
1418
print (io, FORWARD_SENSITIVITY_NOT_FOUND_MESSAGE)
1419
- println (io, SciMLBase . VERBOSE_MSG)
1419
+ println (io, TruncatedStacktraces . VERBOSE_MSG)
1420
1420
end
1421
1421
1422
1422
function _concrete_solve_forward (args... ; kwargs... )
0 commit comments