@objc public protocol TXErrorPolicy
Defines an interface for error policy classes.
Error policies define what happens when rendering faces an error. They are useful to protect the user from pages failing to load.
Return the error string to be displayed using all the information provided by the SDK.
func get(sourceString: String, stringToRender: String, localeCode: String, params: [String: Any]) throws -> String
The source string
The string to render as provided by the cache
The locale code
Any extra parameters that were passed along with the source string