11 lines
		
	
	
		
			263 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			263 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import * as plugins from './plugins.js';
 | |
| 
 | |
| export class TypedResponseError {
 | |
|   public errorText: string;
 | |
|   public errorData: any;
 | |
|   constructor(errorTextArg: string, errorDataArg?: any) {
 | |
|     this.errorText = errorTextArg;
 | |
|     this.errorData = errorDataArg;
 | |
|   }
 | |
| }
 |