add some simple messages to build in error functions

this makes it so there are some messages for errors in swagger-ui