Errors

Add errors to the spec