2019-07-31 22:56:46 +05:30
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
class RecentSearchesServiceError extends Error {
|
2017-08-17 22:00:37 +05:30
|
|
|
constructor(message) {
|
2020-06-23 00:09:42 +05:30
|
|
|
super(message || __('Recent Searches Service is unavailable'));
|
2017-08-17 22:00:37 +05:30
|
|
|
this.name = 'RecentSearchesServiceError';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default RecentSearchesServiceError;
|