mirror of
https://github.com/monero-project/kovri
synced 2025-10-07 17:22:46 +02:00
@@ -109,7 +109,8 @@ std::string HTTPResponse::get_message(const status_t status) const
|
|||||||
case status_t::space_unavailable:
|
case status_t::space_unavailable:
|
||||||
return "Insufficient Space to Store Resource";
|
return "Insufficient Space to Store Resource";
|
||||||
default:
|
default:
|
||||||
return "Unknown";
|
assert(false);
|
||||||
|
throw std::invalid_argument("invalid HTTP status code");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user