class ElasticAPM::Transport::Serializers::ErrorSerializer
def build_exception(exception)
def build_exception(exception) { message: exception.message, type: exception.type, module: exception.module, code: exception.code, attributes: exception.attributes, stacktrace: exception.stacktrace.to_a, handled: exception.handled } end