You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
341 B
9 lines
341 B
const userFriendlyErrors = {
|
|
'Error: 11 OUT_OF_RANGE: EOF':
|
|
"The person you're trying to connect to isn't available or rejected the connection.\
|
|
Their public key may have changed or the server may no longer be responding."
|
|
}
|
|
|
|
const errorToUserFriendly = error => userFriendlyErrors[error] || error
|
|
|
|
export default errorToUserFriendly
|
|
|