untoldone/bloomapi — pull request #39 by marks (2013-09-28 20:57:15+00:00)
Title: Fix untoldone/bloomapi issue #38

@untoldone - this should fix it. I'm no Q/deferred genius still but I think it makes sense. Unfortunately using the error code seems to be the best way to catch this. A log of the error object isn't too descriptive (below) and I didn't want to make it dependent on the `source_status` field.

````
{ [error: type "source_status" already exists]
length: 86,
name: 'error',
severity: 'ERROR',
code: '42710',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
file: 'typecmds.c',
line: '1084',
routine: 'DefineEnum' }

````