error

fun FakeContext.error(message: String = string()): Error

Generates an error.