Method
withContext(_:)
Localised error message with additional context.
func withContext(_ context: String) -> String
Parameters
context-
Additional context to append to the message
Return Value
Complete error message with context
Discussion
Provides the base error message with support for additional contextual information and parameters.