Some error handling on create, update of stack.