title: Get line of exception in my own exception class
body: <p>Is there any way, how to find out line of code, where I called: raise MyError("something")??</p>
  
  <p>I have code like this:</p>
  
  <pre><code>class MyError(Exception):
      def __init__(self, value):
          self.value = value
  
      def __str__(self):
          return repr(self.value)
  </code></pre>
  
  <p>Can I get the line of exception in this class?</p>
  
  <p>Calling like this:</p>
  
  <pre><code>try:
      somethin()
  except:
      raise MyError("abc")
  </code></pre>
  
  <p>Thank you</p>