// Copyright 2019-2026 Parity Technologies (UK) Ltd.
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
// see LICENSE for license details.
//! Utils.
usesuper::RpcError;pubfndisplay_close_reason(err:&RpcError)-> String{match err {RpcError::RestartNeeded(e)=> e.to_string(),
other => other.to_string(),}}