view src/translator/errors.py @ 806:bcb74c9b895c

Moved out files in the trunk folder to the root.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 09 Mar 2008 00:12:19 +0100
parents trunk/src/translator/errors.py@77c17bbe9d20
children
line wrap: on
line source

# -*- coding: utf-8 -*-
# Author: Aziz Köksal
# License: GPL2
import exceptions

class LoadingError(exceptions.Exception):
  def __init__(self, msg):
    self.msg = msg
    return
  def __str__(self):
    return self.msg