Skip to content

Commit 7eccf21

Browse files
mahirshahMahir Shah
authored andcommitted
Add links to Errors in README
1 parent 7d6ff35 commit 7eccf21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ is not a shorthand property) simply returns an object mapping the original prope
185185
* propertyName - the property name for the given value
186186
* propertyValue - the value of the property
187187
* [recursivelyResolve=false] - recursively resolve additional longhand properties if the shorthands expand to additional shorthands. For example, the border property expands to border-width, which expands further to border-left-width, border-right-width, etc.
188-
* throws {ParseError} - if the propertyValue cannot be parsed.
189-
* throws {UnknownPropertyError} - if the propertyName is not defined in mdn.
190-
* throws {UnsupportedPropertyError} - if the propertyName is a shorthand property, but we don't support expanding it yet.
188+
* throws {[ParseError](./src/errors/ParseError.js)} - if the propertyValue cannot be parsed.
189+
* throws {[UnknownPropertyError](./src/errors/UnknownPropertyError.js)} - if the propertyName is not defined in mdn.
190+
* throws {[UnsupportedPropertyError](./src/errors/UnsupportedPropertyError.js)} - if the propertyName is a shorthand property, but we don't support expanding it yet.
191191

192192
Currently supports the following properties:
193193

0 commit comments

Comments
 (0)