Added error classes, now converting restify errors