tag

open fun tag(type: <Error class: unknown class><out <Error class: unknown class>>, tag: Any?): T
open fun tag(type: KClass<*>, tag: Any?): T

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.

Use this API to attach originating elements, debugging, or other application data to a spec so that you may read it in other APIs or callbacks.