@@ -120,8 +120,6 @@ function Base.showerror(io::IO, e::CommonKwargError)
120120 unrecognized = collect (keys (e. kwargs))[notin]
121121 print (io, " Unrecognized keyword arguments: " )
122122 printstyled (io, unrecognized; bold = true , color = :red )
123- print (io, " \n\n " )
124- println (io, TruncatedStacktraces. VERBOSE_MSG)
125123end
126124
127125@enum KeywordArgError KeywordArgWarn KeywordArgSilent
@@ -147,7 +145,6 @@ struct IncompatibleInitialConditionError <: Exception end
147145
148146function Base. showerror (io:: IO , e:: IncompatibleInitialConditionError )
149147 print (io, INCOMPATIBLE_U0_MESSAGE)
150- println (io, TruncatedStacktraces. VERBOSE_MSG)
151148end
152149
153150const NO_DEFAULT_ALGORITHM_MESSAGE = """
@@ -164,7 +161,6 @@ struct NoDefaultAlgorithmError <: Exception end
164161
165162function Base. showerror (io:: IO , e:: NoDefaultAlgorithmError )
166163 print (io, NO_DEFAULT_ALGORITHM_MESSAGE)
167- println (io, TruncatedStacktraces. VERBOSE_MSG)
168164end
169165
170166const NO_TSPAN_MESSAGE = """
@@ -175,7 +171,6 @@ struct NoTspanError <: Exception end
175171
176172function Base. showerror (io:: IO , e:: NoTspanError )
177173 print (io, NO_TSPAN_MESSAGE)
178- println (io, TruncatedStacktraces. VERBOSE_MSG)
179174end
180175
181176const NAN_TSPAN_MESSAGE = """
@@ -189,7 +184,6 @@ struct NaNTspanError <: Exception end
189184
190185function Base. showerror (io:: IO , e:: NaNTspanError )
191186 print (io, NAN_TSPAN_MESSAGE)
192- println (io, TruncatedStacktraces. VERBOSE_MSG)
193187end
194188
195189const NON_SOLVER_MESSAGE = """
@@ -207,7 +201,6 @@ struct NonSolverError <: Exception end
207201
208202function Base. showerror (io:: IO , e:: NonSolverError )
209203 print (io, NON_SOLVER_MESSAGE)
210- println (io, TruncatedStacktraces. VERBOSE_MSG)
211204end
212205
213206const NOISE_SIZE_MESSAGE = """
@@ -235,7 +228,6 @@ function Base.showerror(io::IO, e::NoiseSizeIncompatabilityError)
235228 println (io, NOISE_SIZE_MESSAGE)
236229 println (io, " size(prob.noise_rate_prototype,2) = $(e. prototypesize) " )
237230 println (io, " length(prob.noise.W[1]) = $(e. noisesize) " )
238- println (io, TruncatedStacktraces. VERBOSE_MSG)
239231end
240232
241233const PROBSOLVER_PAIRING_MESSAGE = """
@@ -256,7 +248,6 @@ function Base.showerror(io::IO, e::ProblemSolverPairingError)
256248 println (io, " Solver type: $(SciMLBase. __parameterless_type (typeof (e. alg))) " )
257249 println (io,
258250 " Problem types compatible with the chosen solver: $(compatible_problem_types (e. prob,e. alg)) " )
259- println (io, TruncatedStacktraces. VERBOSE_MSG)
260251end
261252
262253function compatible_problem_types (prob, alg)
@@ -297,7 +288,6 @@ struct DirectAutodiffError <: Exception end
297288
298289function Base. showerror (io:: IO , e:: DirectAutodiffError )
299290 println (io, DIRECT_AUTODIFF_INCOMPATABILITY_MESSAGE)
300- println (io, TruncatedStacktraces. VERBOSE_MSG)
301291end
302292
303293const NONNUMBER_ELTYPE_MESSAGE = """
336326function Base. showerror (io:: IO , e:: NonNumberEltypeError )
337327 print (io, NONNUMBER_ELTYPE_MESSAGE)
338328 print (io, e. eltype)
339- println (io, TruncatedStacktraces. VERBOSE_MSG)
340329end
341330
342331const GENERIC_NUMBER_TYPE_ERROR_MESSAGE = """
@@ -362,7 +351,6 @@ function Base.showerror(io::IO, e::GenericNumberTypeError)
362351 println (io, " Solver: $(e. alg) " )
363352 println (io, " u0 type: $(e. uType) " )
364353 print (io, " Timespan type: $(e. tType) " )
365- println (io, TruncatedStacktraces. VERBOSE_MSG)
366354end
367355
368356const COMPLEX_SUPPORT_ERROR_MESSAGE = """
381369function Base. showerror (io:: IO , e:: ComplexSupportError )
382370 println (io, COMPLEX_SUPPORT_ERROR_MESSAGE)
383371 println (io, " Solver: $(e. alg) " )
384- println (io, TruncatedStacktraces. VERBOSE_MSG)
385372end
386373
387374const COMPLEX_TSPAN_ERROR_MESSAGE = """
@@ -396,7 +383,6 @@ struct ComplexTspanError <: Exception end
396383
397384function Base. showerror (io:: IO , e:: ComplexTspanError )
398385 println (io, COMPLEX_TSPAN_ERROR_MESSAGE)
399- println (io, TruncatedStacktraces. VERBOSE_MSG)
400386end
401387
402388const TUPLE_STATE_ERROR_MESSAGE = """
@@ -434,7 +420,6 @@ struct TupleStateError <: Exception end
434420
435421function Base. showerror (io:: IO , e:: TupleStateError )
436422 println (io, TUPLE_STATE_ERROR_MESSAGE)
437- println (io, TruncatedStacktraces. VERBOSE_MSG)
438423end
439424
440425const MASS_MATRIX_ERROR_MESSAGE = """
@@ -455,7 +440,6 @@ function Base.showerror(io::IO, e::IncompatibleMassMatrixError)
455440 println (io, e. sz)
456441 print (io, " length(u0): " )
457442 println (e. len)
458- println (io, TruncatedStacktraces. VERBOSE_MSG)
459443end
460444
461445const LATE_BINDING_TSTOPS_ERROR_MESSAGE = """
@@ -468,5 +452,4 @@ struct LateBindingTstopsNotSupportedError <: Exception end
468452
469453function Base. showerror (io:: IO , e:: LateBindingTstopsNotSupportedError )
470454 println (io, LATE_BINDING_TSTOPS_ERROR_MESSAGE)
471- println (io, TruncatedStacktraces. VERBOSE_MSG)
472- end
455+ end
0 commit comments