mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
parent
3418f76a9e
commit
8aeade74db
29 changed files with 72 additions and 169 deletions
|
|
@ -131,14 +131,12 @@ void EMWSPeer::close(int p_code, String p_reason) {
|
|||
|
||||
IP_Address EMWSPeer::get_connected_host() const {
|
||||
|
||||
ERR_EXPLAIN("Not supported in HTML5 export");
|
||||
ERR_FAIL_V(IP_Address());
|
||||
ERR_FAIL_V_MSG(IP_Address(), "Not supported in HTML5 export.");
|
||||
};
|
||||
|
||||
uint16_t EMWSPeer::get_connected_port() const {
|
||||
|
||||
ERR_EXPLAIN("Not supported in HTML5 export");
|
||||
ERR_FAIL_V(0);
|
||||
ERR_FAIL_V_MSG(0, "Not supported in HTML5 export.");
|
||||
};
|
||||
|
||||
EMWSPeer::EMWSPeer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue