class Networkerror(Exception):
   def __init__(self, arg):
      self.args = arg


try:
   raise Networkerror("Bad network")
except Networkerror as e:
   print(e.args)
047144ce00033845277f9f1f5227b7b3ffb1c162
<mask token>

class Networkerror(Exception):
    <mask token>


<mask token>

class Networkerror(Exception):

    def __init__(self, arg):
        self.args = arg


<mask token>

class Networkerror(Exception):

    def __init__(self, arg):
        self.args = arg


try:
    raise Networkerror('Bad network')
except Networkerror as e:
    print(e.args)

class Networkerror(Exception):
   def __init__(self, arg):
      self.args = arg


try:
   raise Networkerror("Bad network")
except Networkerror as e:
   print(e.args)