Use ValidationError instead of Error

Upon handling errors from crud-service, I want to know what type they are so I can choose how to deal with them. This was possible before by checking if `error.message === 'Validation Error'`, but I wasn't happy with this use of the error message.

With this change, I can instead check against the `name` property.