<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Surprisedblog</author_name>
  <author_url>https://blog.hatena.ne.jp/Surprisedblog/</author_url>
  <blog_title>IT the Best</blog_title>
  <blog_url>https://www.it-the-best.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>スニペット</anon>
    <anon>trycatch</anon>
    <anon>JavaScript-スニペット</anon>
    <anon>JavaScript-スニペット-trycatch</anon>
  </categories>
  <description>try catch文 使用方法 catch finally 効果 try catch文 try{}catch(error){} 使用方法 tryのカッコ内にテストしたい(エラーになる可能性がある)文を入れ、catchのカッコ内にはtryに入れた文がエラーとなったときに処理させる文を入れます。 try：通常処理 catch：例外時処理 catch catchには引数を指定することでエラー情報を入手できます。 catch (e){ console.log(e) //エラー情報(例外情報) } finally finally{}はtry,catchのあとに実行されるブロックです。try,catchど…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.it-the-best.com%2Fentry%2Fjavascript-trycatch_1&quot; title=&quot;【JavaScript】エラーを回避するorエラーを条件分岐に使う「テクニック」 | 【try catch】 - IT the Best&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/S/Surprisedblog/20190608/20190608122028.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-03 19:47:27</published>
  <title>【JavaScript】エラーを回避するorエラーを条件分岐に使う「テクニック」 | 【try catch】</title>
  <type>rich</type>
  <url>https://www.it-the-best.com/entry/javascript-trycatch_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
