Permalink
Browse files

README fixes

  • Loading branch information...
zk committed Apr 6, 2011
1 parent 89ca1c4 commit 62af1e02c482b8afa9c34644811592383918d2e5
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
@@ -11,7 +11,7 @@ A Clojure client for [Exceptional](http://getexceptional.com).
### Importing
(ns foo
- (:require [clj-exceptional :as cx
+ (:require [clj-exceptional :as cx]))
;; or
@@ -22,9 +22,9 @@ For the examples below I'll assume you're using the require method above.
### Basic Usage
-Set your key (!!IMPORTANT!!):
+Set your key !! IMPORTANT !!:
- (cx/key! exceptional_app_api_key")
+ (cx/key! "exceptional_app_api_key")
Post an exception (blocking):
@@ -35,6 +35,8 @@ Post an exception (non-blocking using agents):
(cx/post-exc-async (Exception. "something went wrong!"))
+
+
### "Catch" Macros
Wrap some code (`catch-exc` returns the caught exception):
@@ -44,7 +46,7 @@ Wrap some code (`catch-exc` returns the caught exception):
;; => #<Exception>
-Wrap some code ('rethrow-exc` re-throws the caught exception):
+Wrap some code (`rethrow-exc` re-throws the caught exception):
(try
(cx/rethrow-exc

0 comments on commit 62af1e0

Please sign in to comment.