sendException static method
Sends an exception to Raygun.
Convenience method that wraps sendCustom.
The class name and the message are obtained from the error
object.
Implementation
static Future<void> sendException({
required Object error,
List<String>? tags,
Map<String, dynamic>? customData,
StackTrace? stackTrace,
}) async {
return sendCustom(
className: error.runtimeType.toString(),
reason: error.toString(),
tags: tags,
customData: customData,
stackTrace: stackTrace,
);
}