class_docstr: Generic bad request error
class_docstr_tok: ["Generic","bad","request","error"]
code: def __init__(self, detail: str):
      self.message = detail
  
imports: from typing import Any, Optional, Type, Union
  import pydantic
  from starlette import status
label_desc: Use image node_id 1 to create a new BadRequestError object from inherited base classes: ServerError with example: obj = BadRequestError(detail)