module HTTPX::Registry[T, V] class Error < HTTPX::Error end # type registrable = Symbol | String | Class def self.registry: (T tag) -> Class | () -> Hash[T, V] def self.register: (T tag, V handler) -> void def registry: (?T tag) -> V end