# Functions
ErrorMessage extracts a specified error response to be returned to the caller if present, otherwise returns an empty string.
LogData returns logData for an error if there is any.
StackTrace recursively unwraps the error looking for the deepest level at which the error was wrapped with a stack trace from github.com/pkg/errors (or conforms to the StackTracer interface) and returns the slice of stack frames.
StatusCode attempts to extract a status code from an error, or returns 0 if not found.
UnwrapErrorMessage is a callback function that allows you to extract an error message from an error.
UnwrapLogData recursively unwraps logData from an error.
UnwrapStatusCode is a callback function that allows you to extract a status code from an error.