MCPcopy Create free account
hub / github.com/arvidn/libtorrent / message

Method message

src/error_code.cpp:57–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 std::string libtorrent_error_category::message(int ev) const
58 {
59 static char const* msgs[] =
60 {
61 "no error",
62 "torrent file collides with file from another torrent",
63 "hash check failed",
64 "torrent file is not a dictionary",
65 "missing or invalid 'info' section in torrent file",
66 "'info' entry is not a dictionary",
67 "invalid or missing 'piece length' entry in torrent file",
68 "missing name in torrent file",
69 "invalid 'name' of torrent (possible exploit attempt)",
70 "invalid length of torrent",
71 "failed to parse files from torrent file",
72 "invalid or missing 'pieces' entry in torrent file",
73 "incorrect number of piece hashes in torrent file",
74 "too many pieces in torrent",
75 "invalid metadata received from swarm",
76 "invalid bencoding",
77 "no files in torrent",
78 "invalid escaped string",
79 "session is closing",
80 "torrent already exists in session",
81 "invalid torrent handle used",
82 "invalid type requested from entry",
83 "missing info-hash from URI",
84 "file too short",
85 "unsupported URL protocol",
86 "failed to parse URL",
87 "peer sent 0 length piece",
88 "parse failed",
89 "invalid file format tag",
90 "missing info-hash",
91 "mismatching info-hash",
92 "invalid hostname",
93 "invalid port",
94 "port blocked by port-filter",
95 "expected closing ] for address",
96 "destructing torrent",
97 "timed out",
98 "upload to upload connection",
99 "uninteresting upload-only peer",
100 "invalid info-hash",
101 "torrent paused",
102 "'have'-message with higher index than the number of pieces",
103 "bitfield of invalid size",
104 "too many piece requests while choked",
105 "invalid piece packet",
106 "out of memory",
107 "torrent aborted",
108 "connected to ourselves",
109 "invalid piece size",
110 "timed out: no interest",
111 "timed out: inactivity",
112 "timed out: no handshake",
113 "timed out: no request",
114 "invalid choke message",

Callers 1

print_errorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected