Skip to content

Commit

Permalink
Tweak Coding Guide working
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcozzi authored Jan 4, 2017
1 parent 1109b2d commit fe099fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Contributors/CodingGuide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ Some common sensible defaults are

### Throwing Exceptions

Use the methods of Cesium's [Check](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/Check.js) class to throw a `DeveloperError` when the user has a coding error. The most common errors are parameters that are missing, have the wrong type or are out of rangers of the wrong type or are out of range.
Use the functions of Cesium's [Check](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/Check.js) class to throw a `DeveloperError` when the user has a coding error. The most common errors are parameters that are missing, have the wrong type or are out of rangers of the wrong type or are out of range.

* For example, to check that a parameter is an object:
* For example, to check that a parameter is defined and is an object:
```javascript
Cartesian3.maximumComponent = function(cartesian) {
//>>includeStart('debug', pragmas.debug);
Expand Down

0 comments on commit fe099fd

Please sign in to comment.