basic api error types