mirror of
				https://github.com/stedolan/jq.git
				synced 2024-05-11 05:55:39 +00:00 
			
		
		
		
	Document error/1
				
					
				
			This commit is contained in:
		@@ -691,6 +691,13 @@ sections:
 | 
			
		||||
            input: 'null'
 | 
			
		||||
            output: ['[1,2,3]']
 | 
			
		||||
 | 
			
		||||
      - title: "`error(message)`"
 | 
			
		||||
        body: |
 | 
			
		||||
 | 
			
		||||
          Produces an error, just like `.a` applied to values other than
 | 
			
		||||
          null and objects would, but with the given message as the
 | 
			
		||||
          error's value.
 | 
			
		||||
 | 
			
		||||
      - title: "`map(x)`"
 | 
			
		||||
        body: |
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user