Last active
January 1, 2022 09:47
-
-
Save juanmaguitar/f0d2b45e14e81e6ecc9980718fd3f62f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'new CLIError' --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./packages/create-block/lib/templates.js:106: throw new CLIError( 'Template found but invalid definition provided.' ); | |
./packages/create-block/lib/templates.js:132: throw new CLIError( | |
./packages/create-block/lib/templates.js:139: throw new CLIError( | |
./packages/create-block/lib/templates.js:170: throw new CLIError( | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'console.error' --include=\*.js --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./bin/plugin/cli.js:13: console.error( error ); | |
./bin/packages/build.js:265: console.error( error ); | |
./bin/packages/lint-staged-typecheck.js:33: console.error( err.stdout ); | |
./bin/packages/validate-typescript-version.js:13: console.error( | |
./bin/log-perormance-results.js:49: console.error( error ); | |
./bin/api-docs/update-api-docs.js:239: console.error( error ); | |
./packages/blocks/src/api/registration.js:237: console.error( 'Block names must be strings.' ); | |
./packages/blocks/src/api/registration.js:242: console.error( | |
./packages/blocks/src/api/registration.js:248: console.error( 'Block "' + name + '" is already registered.' ); | |
./packages/blocks/src/api/registration.js:363: console.error( 'Block "' + name + '" is not registered.' ); | |
./packages/blocks/src/api/parser/get-block-attributes.js:220: console.error( `Unknown source type "${ sourceConfig.source }"` ); | |
./packages/blocks/src/api/validation/logger.js:26: error: createLogHandler( console.error ), | |
./packages/plugins/src/api/index.js:117: console.error( 'No settings object provided!' ); | |
./packages/plugins/src/api/index.js:121: console.error( 'Plugin name must be string.' ); | |
./packages/plugins/src/api/index.js:125: console.error( | |
./packages/plugins/src/api/index.js:131: console.error( `Plugin "${ name }" is already registered.` ); | |
./packages/plugins/src/api/index.js:139: console.error( | |
./packages/plugins/src/api/index.js:147: console.error( 'Plugin scope must be string.' ); | |
./packages/plugins/src/api/index.js:152: console.error( | |
./packages/plugins/src/api/index.js:196: console.error( 'Plugin "' + name + '" is not registered.' ); | |
./packages/env/test/cli.js:88: const consoleError = console.error; | |
./packages/env/test/cli.js:89: console.error = jest.fn(); | |
./packages/env/test/cli.js:98: expect( console.error ).toHaveBeenCalled(); | |
./packages/env/test/cli.js:100: console.error = consoleError; | |
./packages/env/test/cli.js:109: const consoleError = console.error; | |
./packages/env/test/cli.js:110: console.error = jest.fn(); | |
./packages/env/test/cli.js:125: console.error = consoleError; | |
./packages/env/lib/cli.js:66: // Disable reason: Using console.error() means we get a stack trace. | |
./packages/env/lib/cli.js:67: console.error( error ); | |
./packages/env/lib/cli.js:82: console.error( | |
./packages/env/lib/commands/logs.js:67: console.error( | |
./packages/e2e-tests/config/flaky-tests-reporter.js:68: console.error( | |
./packages/e2e-tests/config/flaky-tests-reporter.js:74: console.error( | |
./packages/react-native-editor/jest_ui_test_environment.js:21: console.error( 'E2E setup exception:', error ); | |
./packages/react-native-editor/i18n-cache/index.js:92: console.error( `Could not find translation file ${ localeUrl }` ); | |
./packages/react-native-editor/i18n-cache/index.js:174: console.error( error ); | |
./packages/components/src/tooltip/index.js:186: console.error( | |
./packages/hooks/src/validateNamespace.js:12: console.error( 'The namespace must be a non-empty string.' ); | |
./packages/hooks/src/validateNamespace.js:18: console.error( | |
./packages/hooks/src/createAddHook.js:40: console.error( 'The hook callback must be a function.' ); | |
./packages/hooks/src/createAddHook.js:47: console.error( | |
./packages/hooks/src/validateHookName.js:13: console.error( 'The hook name must be a non-empty string.' ); | |
./packages/hooks/src/validateHookName.js:19: console.error( 'The hook name cannot begin with `__`.' ); | |
./packages/hooks/src/validateHookName.js:25: console.error( | |
./packages/scripts/config/jest-environment-puppeteer/index.js:36: console.error( error ); | |
./packages/block-editor/src/components/video-player/index.native.js:79: window.console.error( | |
./packages/block-editor/src/store/actions.js:691: window.console.error( | |
./packages/block-editor/src/store/actions.js:695: window.console.error( | |
./packages/rich-text/src/unregister-format-type.js:26: window.console.error( `Format ${ name } is not registered.` ); | |
./packages/rich-text/src/register-format-type.js:39: window.console.error( 'Format names must be strings.' ); | |
./packages/rich-text/src/register-format-type.js:44: window.console.error( | |
./packages/rich-text/src/register-format-type.js:51: window.console.error( | |
./packages/rich-text/src/register-format-type.js:58: window.console.error( 'Format tag names must be a string.' ); | |
./packages/rich-text/src/register-format-type.js:67: window.console.error( | |
./packages/rich-text/src/register-format-type.js:74: window.console.error( | |
./packages/rich-text/src/register-format-type.js:86: window.console.error( | |
./packages/rich-text/src/register-format-type.js:97: window.console.error( | |
./packages/rich-text/src/register-format-type.js:105: window.console.error( | |
./packages/rich-text/src/register-format-type.js:112: window.console.error( | |
./packages/rich-text/src/register-format-type.js:121: window.console.error( 'Format titles must be strings.' ); | |
./packages/i18n/src/sprintf.js:12: * @param {...*} args Arguments to pass to `console.error` | |
./packages/i18n/src/sprintf.js:14:const logErrorOnce = memoize( console.error ); // eslint-disable-line no-console | |
./packages/data/src/components/use-select/index.js:166: console.error( errorMessage ); | |
./packages/widgets/src/blocks/legacy-widget/edit/form.js:59: window.console.error( error ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'extends Error' --include=\*.js --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./packages/create-block/lib/cli-error.js:1:class CLIError extends Error {} | |
./packages/env/lib/config/validate-config.js:12:class ValidationError extends Error {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'import warning from' --include=\*.js --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./packages/warning/test/babel-plugin.js:27: 'import warning from "@wordpress/warning";', | |
./packages/warning/test/babel-plugin.js:31: 'import warning from "@wordpress/warning";', | |
./packages/warning/test/babel-plugin.js:52: 'import warning from "@wordpress/warning";', | |
./packages/warning/test/babel-plugin.js:58: 'import warning from "@wordpress/warning";', | |
./packages/warning/src/test/index.js:4:import warning from '..'; | |
./packages/warning/src/index.js:21: * import warning from '@wordpress/warning'; | |
./packages/components/src/snackbar/index.js:13:import warning from '@wordpress/warning'; | |
./packages/components/src/toolbar-item/index.js:10:import warning from '@wordpress/warning'; | |
./packages/components/src/toolbar-item/index.native.js:5:import warning from '@wordpress/warning'; | |
./packages/components/src/slot-fill/bubbles-virtually/slot-fill-context.js:6:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/block-list/block-invalid-warning.js:14:import Warning from '../warning'; | |
./packages/block-editor/src/components/block-list/block-invalid-warning.native.js:9:import Warning from '../warning'; | |
./packages/block-editor/src/components/block-list/use-block-props/index.js:17:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/block-list/block-crash-warning.js:9:import Warning from '../warning'; | |
./packages/block-editor/src/components/inspector-controls/slot.js:5:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/inspector-controls/fill.js:13:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/inspector-controls/slot.native.js:4:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/inspector-controls/fill.native.js:11:import warning from '@wordpress/warning'; | |
./packages/block-editor/src/components/warning/test/index.js:9:import Warning from '../index'; | |
./packages/edit-post/src/components/sidebar/plugin-document-setting-panel/index.js:12:import warning from '@wordpress/warning'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'new Error' --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./test/native/helpers.js:111: throw new Error( 'HTML serialization trigger is not defined.' ); | |
./bin/plugin/commands/changelog.js:612: throw new Error( | |
./bin/plugin/commands/changelog.js:649: throw new Error( | |
./bin/plugin/commands/changelog.js:653: throw new Error( | |
./bin/packages/build-worker.js:191: callback( new Error( `No handler for extension: ${ extension }` ) ); | |
./bin/api-docs/update-api-docs.js:185: throw new Error( `Cannot find default source file in ${ dir }` ); | |
./bin/generate-public-grammar.js:110: throw new Error( JSON.stringify( expression ) ); | |
./packages/blocks/src/api/test/validation.js:737: throw new Error(); | |
./packages/blocks/src/api/test/serializer.js:333: throw new Error(); | |
./packages/blocks/src/api/utils.js:255: throw new Error( `Block type '${ name }' is not registered.` ); | |
./packages/block-library/src/gallery/v1/edit.js:162: throw new Error( | |
./packages/api-fetch/src/test/index.js:186: const abortError = new Error(); | |
./packages/viewport/src/listener.native.js:24: throw new Error( `Unsupported viewport operator: ${ operator }` ); | |
./packages/react-native-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/RNReactNativeGutenbergBridgeModule.java:320: promise.reject(code, new Error(), writableMap); | |
./packages/react-native-bridge/android/react-native-bridge/src/main/java/org/wordpress/mobile/ReactNativeGutenbergBridge/RNReactNativeGutenbergBridgeModule.java:322: promise.reject(new Error(), writableMap); | |
./packages/edit-navigation/src/store/test/resolvers.js:123: throw new Error( `unexpected API endpoint: ${ path }` ); | |
./packages/edit-navigation/src/store/test/resolvers.js:130: throw new Error( `unexpected API endpoint method: ${ method }` ); | |
./packages/edit-navigation/src/store/actions.js:66: throw new Error( error.message ); | |
./packages/edit-navigation/src/store/actions.js:265: throw new Error( failure.message ); | |
./packages/edit-navigation/src/store/actions.js:303: throw new Error( id ); | |
./packages/e2e-test-utils/src/rest-api.js:30: throw new Error( `Failed to discover REST API endpoint. | |
./packages/e2e-test-utils/src/rest-api.js:81: throw new Error( | |
./packages/e2e-test-utils/src/observe-focus-loss.js:16: throw new Error( 'Unexpected focus loss' ); | |
./packages/e2e-test-utils/src/visit-admin-page.js:38: throw new Error( 'Unexpected error in page content: ' + error ); | |
./packages/compose/src/hooks/use-keyboard-shortcut/index.js:95: throw new Error( | |
./packages/edit-widgets/src/store/actions.js:258: throw new Error( | |
./packages/edit-widgets/src/store/actions.js:295: throw new Error( saveErrorAfter ); | |
./packages/create-block/lib/init-package-json.js:64: throw new Error( | |
./packages/lazy-import/lib/index.js:118: error = new Error( 'Unable to connect to NPM registry' ); | |
./packages/block-directory/src/store/test/reducer.js:151: message: 'new error', | |
./packages/block-directory/src/store/test/actions.js:88: throw new Error( `unexpected API endpoint: ${ path }` ); | |
./packages/block-directory/src/store/test/actions.js:130: throw new Error( `unexpected API endpoint: ${ url }` ); | |
./packages/block-directory/src/store/test/actions.js:169: throw new Error( `unexpected API endpoint: ${ path }` ); | |
./packages/block-directory/src/store/test/actions.js:210: throw new Error( | |
./packages/block-directory/src/store/test/actions.js:215: throw new Error( `unexpected API endpoint: ${ url }` ); | |
./packages/block-directory/src/store/test/actions.js:257: throw new Error( | |
./packages/block-directory/src/store/test/actions.js:262: throw new Error( `unexpected API endpoint: ${ url }` ); | |
./packages/block-directory/src/store/actions.js:88: throw new Error( | |
./packages/block-directory/src/store/load-assets.js:36: newNode.onerror = () => reject( new Error( 'Error loading asset.' ) ); | |
./packages/env/lib/init-config.js:121: throw new Error( | |
./packages/env/lib/init-config.js:129: throw new Error( 'Cannot use XDebug 3 on PHP < 7.2.' ); | |
./packages/env/lib/parse-xdebug-mode.js:43: throw new Error( | |
./packages/react-native-editor/__device-tests__/helpers/appium-local.js:37: new Error( `Appium process exited with code ${ code }` ) | |
./packages/react-native-editor/__device-tests__/helpers/utils.js:124: throw new Error( | |
./packages/react-native-editor/sass-transformer.js:126: return new Error( | |
./packages/components/src/higher-order/with-notices/index.js:45: * Function passed as a prop that adds a new error notice. | |
./packages/components/src/higher-order/with-notices/README.md:18:Function passed as a prop that adds a new error notice. | |
./packages/components/src/focal-point-picker/tooltip/index.native.js:63: throw new Error( | |
./packages/components/src/utils/hooks/use-cx.ts:47: throw new Error( | |
./packages/components/src/color-picker/hex-input.tsx:29: throw new Error( 'Invalid hex color input' ); | |
./packages/components/src/flyout/flyout-content/component.js:25: throw new Error( | |
./packages/list-reusable-blocks/src/utils/import.js:28: throw new Error( 'Invalid JSON file' ); | |
./packages/list-reusable-blocks/src/utils/import.js:37: throw new Error( 'Invalid Reusable block JSON file' ); | |
./packages/scripts/config/jest-environment-puppeteer/index.js:69: throw new Error( 'wsEndpoint not found' ); | |
./packages/scripts/config/jest-environment-puppeteer/index.js:166: throw new Error( | |
./packages/scripts/config/jest-environment-puppeteer/config.js:56: throw new Error( | |
./packages/scripts/config/jest-environment-puppeteer/config.js:76: throw new Error( | |
./packages/scripts/utils/test/index.js:181: throw new Error( `Exit code: ${ code }.` ); | |
./packages/block-editor/src/utils/transform-styles/ast/parse.js:70: const err = new Error( | |
./packages/block-editor/src/components/inner-blocks/test/index.js:81: throw new Error(); | |
./packages/block-editor/src/components/link-control/test/index.js:1344: throw new Error( 'API response returned invalid entity.' ); // this can be any error and msg | |
./packages/block-editor/src/components/link-control/use-rich-url-data.js:32: throw new Error( `Unexpected action type ${ action.type }` ); | |
./packages/block-serialization-spec-parser/shared-tests.js:359: throw new Error( process.stderr || process.stdout ); | |
./packages/block-serialization-spec-parser/shared-tests.js:376: throw new Error( | |
./packages/dom/src/utils/assert-is-defined.ts:9: throw new Error( | |
./packages/docgen/lib/markdown/index.js:23: new Error( `Heading ${ options.toSection } not found.` ) | |
./packages/docgen/lib/markdown/index.js:30: new Error( | |
./packages/docgen/lib/get-type-annotation.js:465: throw new Error( | |
./packages/docgen/lib/get-type-annotation.js:495: throw new Error( | |
./packages/docgen/lib/get-type-annotation.js:513: throw new Error( | |
./packages/core-data/src/resolvers.js:277: throw new Error( `'${ action }' is not a valid action.` ); | |
./packages/core-data/src/actions.js:285: throw new Error( | |
./packages/core-data/src/entity-provider.js:40: throw new Error( `Missing entity config for kind: ${ kind }.` ); | |
./packages/core-data/src/batch/create-batch.js:126: throw new Error( | |
./packages/project-management-automation/lib/tasks/first-time-contributor-account-link/test/index.js:139: return Promise.reject( new Error( 'Whoops!' ) ); | |
./packages/project-management-automation/lib/tasks/add-milestone/index.js:139: throw new Error( | |
./packages/project-management-automation/lib/tasks/add-milestone/index.js:190: throw new Error( 'Could not rediscover milestone by title: ' + title ); | |
./packages/reusable-blocks/src/store/test/actions.js:115: throw new Error( `unexpected API endpoint: ${ path }` ); | |
./packages/reusable-blocks/src/store/test/actions.js:168: throw new Error( `unexpected API endpoint: ${ path }` ); | |
./packages/reusable-blocks/src/store/test/actions.js:236: throw new Error( | |
./packages/redux-routine/src/test/index.js:76: throw new Error( 'Message' ); | |
./packages/redux-routine/src/test/index.js:103: throw new Error( 'Message' ); | |
./.github/report-flaky-tests/index.js:87: // Reconstruct the body with the description + previous errors + new error. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⬢ gutenberg trunk ⦾ grep -Rinw . -e 'setErrorMessage' --include=\*.js --exclude=\*.test.js --exclude=\*npm.js --exclude=\*.json | |
./packages/block-editor/src/components/link-control/use-create-page.js:10: const [ errorMessage, setErrorMessage ] = useState( null ); | |
./packages/block-editor/src/components/link-control/use-create-page.js:14: setErrorMessage( null ); | |
./packages/block-editor/src/components/link-control/use-create-page.js:31: setErrorMessage( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment