
"""Common exception classes."""

import logging

class ErrorMessage(Exception):
    """Raise this exception to show an error message to the user."""
    def __init__(self, status, message):
        self.status = status
        self.message = message

class Redirect(Exception):
    """Raise this exception to redirect to another page."""
    def __init__(self, url):
        self.url = url



"""Common exception classes."""

class ErrorMessage(Exception):
    """Raise this exception to show an error message to the user."""
    def __init__(self, status, message):
        self.status = status
        self.message = message

class Redirect(Exception):
    """Raise this exception to redirect to another page."""
    def __init__(self, url):
        self.url = url


Remove import logging. This file is now identical to the branch point.
Remove import logging. This file is now identical to the branch point.

  
  """Common exception classes."""
- 
- import logging
  
  class ErrorMessage(Exception):
      """Raise this exception to show an error message to the user."""
      def __init__(self, status, message):
          self.status = status
          self.message = message
  
  class Redirect(Exception):
      """Raise this exception to redirect to another page."""
      def __init__(self, url):
          self.url = url
  
  
Remove import logging. This file is now identical to the branch point.
## Code Before:

"""Common exception classes."""

import logging

class ErrorMessage(Exception):
    """Raise this exception to show an error message to the user."""
    def __init__(self, status, message):
        self.status = status
        self.message = message

class Redirect(Exception):
    """Raise this exception to redirect to another page."""
    def __init__(self, url):
        self.url = url


## Instruction:
Remove import logging. This file is now identical to the branch point.
## Code After:

"""Common exception classes."""

class ErrorMessage(Exception):
    """Raise this exception to show an error message to the user."""
    def __init__(self, status, message):
        self.status = status
        self.message = message

class Redirect(Exception):
    """Raise this exception to redirect to another page."""
    def __init__(self, url):
        self.url = url

