Package that contains general utility functions that we reuse multiple times in the SDK. While primarily designed for internal usage, they might also be benefical for consumers of the SDK.
Creates a new error using the provided message and appends the causes stacktrace to the new error's stacktrace.
The message of the new error.
The original error.
A new error instance.