We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e4b8bb commit 300595dCopy full SHA for 300595d
src/StringEncodings.jl
@@ -28,7 +28,7 @@ message(::Type{InvalidSequenceError}) = "Byte sequence 0x<<1>> is invalid in sou
28
type IConvError <: StringEncodingError
29
args::Tuple{ASCIIString, Int, ASCIIString}
30
end
31
-IConvError(func) = IConvError((func, errno(), strerror(errno())))
+IConvError(func::ASCIIString) = IConvError((func, errno(), strerror(errno())))
32
message(::Type{IConvError}) = "<<1>>: <<2>> (<<3>>)"
33
34
# Input ended with incomplete byte sequence
0 commit comments