i know you can use both
throw new Exception(msg);
and

module test;

class testException {
     this (string msg) {
          super("some error info : "~msg);
     }
}

throw new testException(msg);

but which one is better conforms to the d style?

Reply via email to