エラーを送出できる関数 (Throwing Function)