Private API

This page lists non-exported (internal) symbols of CTBase.Exceptions.


From CTBase.Exceptions

extract_user_frames

CTBase.Exceptions.extract_user_framesFunction
extract_user_frames(st::Vector)

Extract stacktrace frames that are relevant to user code. Filters out Julia stdlib.

Arguments

  • st::Vector: Stacktrace from stacktrace(catch_backtrace())

Returns

  • Vector: Filtered stacktrace frames

format_user_friendly_error

CTBase.Exceptions.format_user_friendly_errorFunction
format_user_friendly_error(io::IO, e::CTException)

Display an error in a user-friendly format with clear sections and user code location.

Arguments

  • io::IO: Output stream
  • e::CTException: The exception to display