You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							595 B
						
					
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							595 B
						
					
					
				| export const SAMPLE_CAST_ERROR = {
 | |
|   stringValue: '"asdasd"',
 | |
|   kind: 'Number',
 | |
|   value: 'asdasd',
 | |
|   path: 'age',
 | |
|   reason: {
 | |
|     stringValue: '"asdasd"',
 | |
|     kind: 'number',
 | |
|     value: 'asdasd',
 | |
|     path: 'age',
 | |
|     reason: {
 | |
|       generatedMessage: true,
 | |
|       name: 'AssertionError [ERR_ASSERTION]',
 | |
|       code: 'ERR_ASSERTION',
 | |
|       actual: false,
 | |
|       expected: true,
 | |
|       operator: '==',
 | |
|     },
 | |
|     message: 'Cast to number failed for value "asdasd" at path "age"',
 | |
|     name: 'CastError',
 | |
|   },
 | |
|   message: 'Cast to Number failed for value "asdasd" at path "age"',
 | |
|   name: 'CastError',
 | |
| }
 |