Assertion for UIGraphicsBeginImageContextWithOptions NULL return value
Further detailed exceptions for zero-sized layers
Merge pull request #43 from Memrise/catch-cgcontext-null

Assertion for UIGraphicsBeginImageContextWithOptions NULL return value