Document error types