code: def __init__(
      self,
      message,
      title=None,
      error_dict=None,
      status=500,
      template=None,
      message_is_html=False,
  ):
      self.message = message
      self.title = title
      self.error_dict = error_dict or {}
      self.status = status
      self.message_is_html = message_is_html
  
imports: import asyncio
  import csv
  import hashlib
  import sys
  import textwrap
  import time
  import urllib
  from markupsafe import escape
  import pint
  from datasette import __version__
  from datasette.database import QueryInterrupted
  from datasette.utils.asgi import Request
  from datasette.utils import add_cors_headers, await_me_maybe, EscapeHtmlWriter, InvalidSql, LimitedWriter, call_with_supported_arguments, path_from_row_pks, path_with_added_args, path_with_removed_args, path_with_format, sqlite3
  from datasette.utils.asgi import AsgiStream, NotFound, Response, BadRequest
label_desc: Use image node_id 1 to create a new DatasetteError object from inherited base classes: Exception with example: obj = DatasetteError(message, title, error_dict, status, template, message_is_html)