failsWith

inline fun <T> Parser<T>.failsWith(msg: String): Parser<T>

Replaces the error message of the receiver parser with msg. Position information is unaffected.