McuMgrErrorException

Used to convey errors caused by an McuMgrErrorCode within a response.

Constructors

Link copied to clipboard
constructor(@NotNull code: @NotNull McuMgrErrorCode)
constructor(@NotNull code: @NotNull HasReturnCode.GroupReturnCode)
constructor(@NotNull response: @NotNull McuMgrResponse)

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
open fun getCause(): Throwable
Link copied to clipboard
@NotNull
open fun getCode(): @NotNull McuMgrErrorCode
Get the code which caused this exception to be thrown.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun setStackTrace(stackTrace: Array<StackTraceElement>)
Link copied to clipboard
open fun toString(): String
@NotNull
open fun toString(): @NotNull String