/** * Create from translatable exception. * * @return self */ public static function exc(Exception $exc) { return new self($exc->getMsgId(), $exc->getMsgParams(), $exc->getMsgDomain()); }