applyExceptionDetailsConfiguration
fun applyExceptionDetailsConfiguration(configuration: WrappedException.DetailsConfiguration): EncodableResult<T>
Applies a configuration to modify the details of the associated failure, if present. The configuration defines which exception details (e.g., stack trace, message, etc.) should be included or excluded.
Return
The current EncodableResult instance with the configuration applied to its failure, if any.
Parameters
configuration
The configuration specifying the details to include for the failure.