DeclarationSite

Represents a place where something (usually commands) was declared, used in exception messages.

When creating code-declared commands, the declaration site is automatically set to the caller. As this is done by walking the stack, you can use @IgnoreStackFrame to ignore a particular class (such as utility classes), pointing instead to the frame which called your ignored class.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toString(): String