数通智联化工云平台
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.
 
 
 
 
 

11 lines
299 B

class NetworkError extends Error {
constructor (error, xhr = null) {
super(`This looks like a network error, the endpoint might be blocked by an internet provider or a firewall.`)
this.cause = error
this.isNetworkError = true
this.request = xhr
}
}
export default NetworkError