Skip to content

Commit d156499

Browse files
authored
Apply suggestions from code review
1 parent 44659cf commit d156499

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DataBlobs/services/BlobEntry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ end
7474

7575
function getBlobentry(var::VariableDFG, key::Symbol)
7676
if !hasBlobentry(var, key)
77-
throw(DFGLabelError(key))
77+
throw(DFGLabelNotFoundError(key))
7878
end
7979
return var.blobEntries[findfirst(x -> x.label == key, var.blobEntries)]
8080
end

src/errors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ end
5757

5858
function Base.showerror(io::IO, ex::DFGSerializationError)
5959
return print(io, "DFGSerializationError: ", ex.msg)
60-
end
60+
end

0 commit comments

Comments
 (0)