Added more specific errors