-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move documentation inline for error types declared in base/base.jl. #17959
Conversation
@@ -4,15 +4,32 @@ type SystemError <: Exception | |||
prefix::AbstractString | |||
errnum::Int32 | |||
extrainfo | |||
@doc """ | |||
SystemError(prefix::AbstractString, [errno::Int32]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3-space indent here, should be 4 to be recognised as a code block.
💯 |
|
Only 7869 lines to go! |
Great, I made the modifications suggested. Thank you for the feedback @MichaelHatherly! |
This was on my to-do list and you beat me! Nice work! 💯 |
AssertionError(msg) = new(msg) | ||
AssertionError() = new("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the definition order probably won't affect anything, but best to avoid unrelated changes if possible. Other than that the PR looks go to me, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reordered!
Also, @xorJane, this is your second Julia PR, right? (Belated) Welcome to Julia if so! |
Thanks @kshyatt ! |
I've moved the documentation inline for types
SystemError
,ParseError
,ArgumentError
,KeyError
,MethodError
,EOFError
,DimensionMismatch
,AssertionError
,LoadError
, andInitError
. Hope that helps!