class_docstr: A general error class that cast maps Status to typed errors.
docstr: Creates a `StatusError`.
docstr_tok: ["Creates","a","`","StatusError","`","."]
code: def __init__(self, message, error_code):
      """Creates a `StatusError`."""
      super(StatusError, self).__init__(message)
      self.message = message
      self.error_code = error_code
  
imports: from absl import logging
label_desc: Use image node_id 1 to create a new StatusError object from inherited base classes: Exception with example: obj = StatusError(message, error_code)