-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathexception_types.jl
71 lines (54 loc) · 1.3 KB
/
exception_types.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
struct LSSymbolServerFailure <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSSymbolServerFailure)
print(io, ex.msg)
end
struct LSUriConversionFailure <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSUriConversionFailure)
print(io, ex.msg)
end
struct LSOffsetError <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSOffsetError)
print(io, ex.msg)
end
struct LSSyncMismatch <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSSyncMismatch)
print(io, ex.msg)
end
struct LSHoverError <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSHoverError)
print(io, ex.msg)
end
struct LSPositionToOffsetException <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSPositionToOffsetException)
print(io, ex.msg)
end
struct LSRelativePath <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSRelativePath)
print(io, ex.msg)
end
struct LSInfiniteLoop <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSInfiniteLoop)
print(io, ex.msg)
end
struct LSInvalidFile <: Exception
msg::AbstractString
end
function Base.showerror(io::IO, ex::LSInvalidFile)
print(io, ex.msg)
end