Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:20:42+00:00 2026-05-22T17:20:42+00:00

The D documentation seems to be a bit messy, and I’m not able to

  • 0

The D documentation seems to be a bit messy, and I’m not able to find this information anywhere on the official site. I’m needing some common exception types (e.g. NotFiniteNumberException, FileIOException, types like that), do these exist in the core libraries, or would I have to roll these myself?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:20:43+00:00Added an answer on May 22, 2026 at 5:20 pm

    Some of them exist, some of them don’t. The best strategy to find them is to just do a global search look for the text : Exception in the D runtime (and Phobos), and seeing what all the preexisting exceptions are.

    Most likely, though, you’ll have to roll out at least some of your own.

    What I found through this search were the following:

    druntime\src\core\demangle.d(72):static class ParseException : Exception
    druntime\src\core\demangle.d(81):static class OverflowException : Exception
    druntime\src\core\exception.d(297):     class UnicodeException : Exception
    druntime\src\core\thread.d(34):         class ThreadException : Exception
    druntime\src\core\thread.d(51):         class FiberException : Exception
    druntime\src\core\time.d(2703):         class TimeException : Exception
    druntime\src\core\sync\exception.d(21): class SyncException : Exception
    phobos\std\boxer.d(511):                class UnboxException : Exception
    phobos\std\concurrency.d(198):          class MessageMismatch : Exception
    phobos\std\concurrency.d(210):          class OwnerTerminated : Exception
    phobos\std\concurrency.d(225):          class LinkTerminated : Exception
    phobos\std\concurrency.d(240):          class PriorityMessageException: Exception
    phobos\std\concurrency.d(255):          class MailboxFull : Exception
    phobos\std\conv.d(33):                  class ConvException : Exception
    phobos\std\demangle.d(26):      private class MangleException : Exception
    phobos\std\encoding.d(2056):            class EncodingException : Exception
    phobos\std\exception.d(792):            class ErrnoException : Exception
    phobos\std\file.d(183):                 class FileException : Exception
    phobos\std\json.d(418):                 class JSONException : Exception
    phobos\std\regexp.d(161):               class RegExpException : Exception
    phobos\std\socket.d(121):               class SocketException: Exception
    phobos\std\socket.d(455):               class HostException: Exception
    phobos\std\socket.d(670):               class AddressException: Exception
    phobos\std\stdio.d(2111):               class StdioException : Exception
    phobos\std\stream.d(44):                class StreamException: Exception
    phobos\std\utf.d(45):                   class UtfException : Exception
    phobos\std\variant.d(1153):      static class VariantException : Exception
    phobos\std\xml.d(2726):                 class XMLException : Exception
    phobos\std\zip.d(44):                   class ZipException : Exception
    phobos\std\zlib.d(42):                  class ZlibException : Exception
    phobos\std\windows\registry.d(75):      class Win32Exception : Exception
    

    (Of course, if there are exceptions that inherit from classes other than Exception, or if there spacing was weird, then they’re not on this list.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I couldn't really find this in Rails documentation but it seems like 'mattr_accessor' is
I'm trying to parse some JSON using the JSon.Net library. The documentation seems a
It seems that all of the documentation I can find about OpenGL-ES says something
The mako documentation seems to hint a being able to have dynamic, optional layout
I've never used iptables, and the documentation online seems a bit opaque. I'd like
Most of Apples documentation seems to avoid using autoreleased objects especially when creating gui
Is the documentation for Rich Edit Controls really as bad (wrong?) as it seems
I can't seem to find any useful documentation from Microsoft about how one would
I have spent hours trying to find an answer to this, and have come
I'm a bit confused as to the term closure used within the Groovy documentation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.