Skip to content

Commit

Permalink
Direct Batch EOD and loop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf committed Oct 10, 2024
1 parent 62a73b3 commit c83faff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/io/nats/client/api/Error.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ public static Error convert(Status status) {
return new Error(status.getCode(), NOT_SET, status.getMessage());
}

public static Error convert(Exception e) {
return new Error(500, NOT_SET, e.getMessage());
}

public static final Error JsBadRequestErr = new Error(400, 10003, "bad request");
public static final Error JsNoMessageFoundErr = new Error(404, 10037, "no message found");
}

0 comments on commit c83faff

Please sign in to comment.