Skip to content

Commit

Permalink
Merge pull request #26 from myd7349/fix-exception-message
Browse files Browse the repository at this point in the history
Remove redundant 'internal'
  • Loading branch information
tstenner authored Jul 30, 2024
2 parents 51aff24 + fb6feda commit 520c23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LSL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static void check_error(int ec)
case -1: throw new TimeoutException("The operation failed due to a timeout.");
case -2: throw new LostException("The stream has been lost.");
case -3: throw new ArgumentException("An argument was incorrectly specified (e.g., wrong format or wrong length).");
case -4: throw new InternalException("An internal internal error has occurred.");
case -4: throw new InternalException("An internal error has occurred.");
default: throw new Exception("An unknown error has occurred.");
}
}
Expand Down

0 comments on commit 520c23c

Please sign in to comment.