moved around exceptions
messages library
all compose errors have same type now