MCPcopy Create free account
hub / github.com/PlexPt/rocket-pt / error

Method error

src/main/java/com/rocketpt/server/util/BencodeUtil.java:29–31  ·  view source on GitHub ↗
(String reason)

Source from the content-addressed store, hash-verified

27 }
28
29 public static String error(String reason) {
30 return encode(Map.of("failure reason", reason));
31 }
32
33 public static String errorNoRetry(String reason) {
34 return encode(Map.of("failure reason", reason,

Callers 6

processingScrapeMethod · 0.95
eMethod · 0.95
ErrorsInterface · 0.95
getIpAddrMethod · 0.45

Calls 1

encodeMethod · 0.95

Tested by

no test coverage detected