setFailed

external fun setFailed(message: String)(source)
external fun setFailed(message: JsError)(source)