Skip to content
Yasuhiro, Yamada edited this page Feb 21, 2017 · 8 revisions

Exit codes

ttcopy and ttpaste common exit codes

Description Exit status Note
Exit successfully 0
Undefined or General errors 1
ID or password is undefined 3
Invalid option/argument 4
Nothing has been copied yet. 5
Given passwords on the initial screen do not match. 6
Failed to decode something. 7 i.e, Invalid ID or password
Failed to encode something. 8 openssl got something wrong. i.e, openssl's version is too old.
Failed to upload the content. 16 transfer.sh might be down.
Failed to get the content url. 17 cl1p.net might be down.
Credentials are initialized on the initial screen. 124 Actually it is not error. "124" sounds like "initi" in japanese btw.
Necessary commands are not found 127 http://stackoverflow.com/questions/1763156/127-return-code-from
Terminated by Ctl-C 130 Type Ctrl-c.
Clone this wiki locally