rxdogtag / com.uber.rxdogtag / RxDogTag
RxDogTag¶
class RxDogTag
RxDogTag is a mechanism to automatically detect RxJava observers with no error handling and wrap them in DogTagObserver
s that attempt to deduce the line number that subscribe()
was called and surface that in the eventual thrown OnErrorNotImplementedException message.
To use, simply call [`#install`](install.md) or use
#builder()
to install with configuration. Note that this uses RxJavaPlugins’s onSubscribe
hooks.
Types¶
Name | Summary |
---|---|
Builder | class Builder |
Configurer | interface Configurer Convenience interface to allow custom configurers to hook into a builder to add their own configurations as needed. |
Properties¶
Name | Summary |
---|---|
STACK_ELEMENT_SOURCE_DELEGATE | static val STACK_ELEMENT_SOURCE_DELEGATE: String |
STACK_ELEMENT_SOURCE_HEADER | static val STACK_ELEMENT_SOURCE_HEADER: String |
STACK_ELEMENT_TRACE_HEADER | static val STACK_ELEMENT_TRACE_HEADER: String |
Functions¶
Name | Summary |
---|---|
builder | static fun builder(): RxDogTag.Builder ! |
install | static fun install(): Unit Initializes RxDogTag with default [`Builder`](-builder/index.md) settings via Builder#install() . |
reset | static fun reset(): Unit Resets RxDogTag by resetting custom onSubscribe hooks via RxJavaPlugins. Note that calling this calls the following methods with null values. |