結果 : typescript create custom error class