Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Apple がユーザー定義のエラー コードとして使用できる定数を知るにはどうすればよいですか。定数がシステム エラー コードに存在する場合でも、自分の目的に使用できます。
NSError を読んでください。明示的に設計されているため、独自のエラー ドメインとコードを定義できます。