function extractThrowsAnnotations( node ) {
		var jsdoc;
		var tags;
		var ast;
		var out;
		var i;

		jsdoc = findJSDoc( source, node );
		if ( isObject( jsdoc ) ) {
			ast = parseJSDoc( jsdoc.value, DOPTS );
			tags = ast.tags;
			out = [];
			for ( i = 0; i < tags.length; i++ ) {
				if ( tags[ i ].title === 'throws' ) {
					out.push( tags[ i ].type.name );
				}
			}
		} else {
			out = checkDefineProperty( node );
		}
		return out;
	}
Extracts `@throws` tags from JSDoc comment corresponding to the given node.

@private
@param {ASTNode} node - function node
@returns {(Array|null)} array of error annotation types