Add datetime error

@alexjikim 

Also, there are a lot of error states and classes we're missing out on; I may revisit that at some point.