Report Android Error

For example if a certain function displays error in the logcat without throwing an exception. And It is not my code so I can’t override its implementation to send a sentry report.
Is there a way to report certain android error to sentry?