LoginSignup
2
2

More than 3 years have passed since last update.

catch(Exception)のエラー文が見たい

Posted at

結論

Controller.cs
try
{
    hogehoge
    ......
}
catch(Exception e)
{
    return e.Message;
}

これで 戻り値でエラー文をゲットできた。

2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2