phoenix-channel / ch.kuon.phoenix / Channel / Message / getError

getError

open fun getError(): String

Returns the error reason.

If this message is not an error, this will throw an exception so be sure to check Message.isError first.