PermissionNotGrantedError Class — react Architecture
Architecture documentation for the PermissionNotGrantedError class in PermissionNotGrantedError.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 209793b1_c3c0_adbf_e65b_b5a808cce070["PermissionNotGrantedError"] 0ea17c3c_527b_3baf_92df_59f1fe6d06bc["PermissionNotGrantedError.js"] 209793b1_c3c0_adbf_e65b_b5a808cce070 -->|defined in| 0ea17c3c_527b_3baf_92df_59f1fe6d06bc d93a496b_b5a9_465c_856b_ddc2a1288b73["constructor()"] 209793b1_c3c0_adbf_e65b_b5a808cce070 -->|method| d93a496b_b5a9_465c_856b_ddc2a1288b73
Relationship Graph
Source Code
packages/react-devtools-shared/src/errors/PermissionNotGrantedError.js lines 10–21
export class PermissionNotGrantedError extends Error {
constructor() {
super("User didn't grant the required permission to perform an action");
// Maintains proper stack trace for where our error was thrown (only available on V8)
if (Error.captureStackTrace) {
Error.captureStackTrace(this, PermissionNotGrantedError);
}
this.name = 'PermissionNotGrantedError';
}
}
Source
Frequently Asked Questions
What is the PermissionNotGrantedError class?
PermissionNotGrantedError is a class in the react codebase, defined in packages/react-devtools-shared/src/errors/PermissionNotGrantedError.js.
Where is PermissionNotGrantedError defined?
PermissionNotGrantedError is defined in packages/react-devtools-shared/src/errors/PermissionNotGrantedError.js at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free