<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wrongwrongwrongwrong163377</author_name>
  <author_url>https://blog.hatena.ne.jp/wrongwrongwrongwrong163377/</author_url>
  <blog_title>wrongwrongな開発日記</blog_title>
  <blog_url>https://wrongwrong163377.hatenablog.com/</blog_url>
  <categories>
    <anon>SpringBoot</anon>
    <anon>java</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>内部エラー周りの設計について自分の経験から得た知見をまとめます（なのでセオリーとかアンチパターンとか有れば教えていただけるとありがたいです）。 内部エラーとは基本的に自分で書いてThrowするようなエラーを想定しています。 エラーハンドリングに関してはサンプル記事が溢れているので省略します。 例外クラスの作り方 サーバーとフロント側で「エラー内容/HTTPステータスコードによって大体の挙動を統一する」ことができるため、基本的に返却するHTTPステータスコードに合わせて例外クラスを作ればよいと思います。 内部エラーコードを設定することも考えられますが、アプリケーション規模が小さいうちはそこまでし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwrongwrong163377.hatenablog.com%2Fentry%2F2019%2F07%2F14%2F160719&quot; title=&quot;【SpringBoot】内部エラー周りの話 - wrongwrongな開発日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-14 16:07:19</published>
  <title>【SpringBoot】内部エラー周りの話</title>
  <type>rich</type>
  <url>https://wrongwrong163377.hatenablog.com/entry/2019/07/14/160719</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
