Rewriting messages

This commit is contained in:
Tomasz Drwięga 2016-04-06 19:22:10 +02:00
parent a52043d5b3
commit fd03f58eae
1 changed files with 3 additions and 3 deletions

View File

@ -656,13 +656,13 @@ fn die_with_error(e: ethcore::error::Error) -> ! {
fn die_with_io_error(e: std::io::Error) -> ! {
match e.kind() {
std::io::ErrorKind::PermissionDenied => {
die!("We don't have permission to bind to this port.")
die!("No permissions to bind to specified port.")
},
std::io::ErrorKind::AddrInUse => {
die!("Specified address is already in use. Please make sure that nothing is listening on specified port or use different one")
die!("Specified address is already in use. Please make sure that nothing is listening on the same port or try using a different one.")
},
std::io::ErrorKind::AddrNotAvailable => {
die!("Couldn't use specified interface or given address is invalid.")
die!("Could not use specified interface or given address is invalid.")
},
_ => die!("{:?}", e),
}