Add support for Cowboy error messages