toast Error

open fun toastError(error: StringResource, vararg formatArgs: Any)

Method used to toast an error message

Parameters

error

The error message to display

formatArgs

The arguments used to dynamically format the error message if needed