We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3d208 commit 99d671aCopy full SHA for 99d671a
src/renderers/phantom/server.js
@@ -194,15 +194,15 @@ export class Server {
194
}
195
196
Server.Error = class ServerError extends Error {
197
- get name() { 'ServerError' }
+ get name() { return 'ServerError' }
198
199
200
Server.Error.UnknownMethod = class UnknownMethodError extends Server.Error {
201
- get name() { 'ServerError.UnknownMethod' }
+ get name() { return 'ServerError.UnknownMethod' }
202
203
204
Server.Error.PageNotFound = class PageNotFoundError extends Server.Error {
205
- get name() { 'ServerError.PageNotFound' }
+ get name() { return 'ServerError.PageNotFound' }
206
207
208
export default Server;
0 commit comments