Moved error handling from server to command

What is this? LOLZ